Re: SolrCloud - Path must not end with / character

2013-09-02 Thread Prasi S
The issue is resolved. I have given all the path inside tomcat as relative paths( solr home, solr war). That was the creating the problem. On Mon, Sep 2, 2013 at 2:19 PM, Prasi S wrote: > Does this have anyting to do with tomcat? I cannot go back as we already > fixed with tomcat. > > Any sugge

Solr 4.2 update/extract adding unknown field, can we change field type from string to text

2013-09-02 Thread Jai
hi, while indexing document with unknown fields, its adding unknown fields in schema but its always guessing it as string type. is it possible to specify default field type for unknown fields to some other type, like text so that it gets tokenized? also can we specify other properties by default l

Re: distributed query result order tie break question

2013-09-02 Thread Michael Sokolov
Mostly I'm just trying to understand. For the moment I'm putting together a design for distributed Lux (XQuery backed by Solr Cloud). My motivation is that I am feeding results into its separate XQuery system, and that requires a consistent global document ordering. The ordering can be arbitr

Re: distributed query result order tie break question

2013-09-02 Thread Jack Krupansky
"*:*" is a constant score query - every document has the same score, so the concept of relevancy has no relevance. But, in theory, you could apply boost queries and function queries to scale or offset those constant scores. If so, then you should see relevancy sorting, otherwise the concept of

Re: Measuring SOLR performance

2013-09-02 Thread Roman Chyla
Hi Dmitry, If it is something you want to pass with every request (which is my use case), you can pass it as additional solr params, eg. python solrjmeter --additionalSolrParams="fq=other_field:bar+facet=true+facet.field=facet_field_name" the string should be url encoded. If it is somethin

distributed query result order tie break question

2013-09-02 Thread Michael Sokolov
My question is about how query results are ordered in a distributed query when sorting by "relevance" and all the documents have the same score, for example, when querying for "*:*". It looks to me as if score ties are broken by shard and then within each shard, by docid. So for example, if I

Re: phonetic search

2013-09-02 Thread Sergio Stateri
Thanks Erick, I´m trying to looking for english texts now. I put a field type like this: ... Then I´m trying to find CITY, like this: SolrQuery query = new SolrQuery(); query.setQuery("(descricaoRoteiroPhonetic:CITY)" ); QueryResponse rsp = server.query( query ); QueryRespon

Re: phonetic search

2013-09-02 Thread Erick Erickson
What you need to do is include one of the phonetic filters in your analysis chain, see: http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.PhoneticFilterFactory All you've done with the stemmer is make things like (sorry, English examples are all I can do) running, runner etc. be inde

Re: Measuring SOLR performance

2013-09-02 Thread Dmitry Kan
Hi Erick, Agree, this is perfectly fine to mix them in solr. But my question is about solrjmeter input query format. Just couldn't find a suitable example on the solrjmeter's github. Dmitry On Mon, Sep 2, 2013 at 5:40 PM, Erick Erickson wrote: > filter and facet queries can be freely intermix

db-data-config.xml ?

2013-09-02 Thread Kunzman, Doug
Hi - I'm new to Solr and am trying to combine a script:and & RegExTransformer in a db-dataconfig.xml that is used to ingest data into Solr. Can anyone be of any help? There is definitly a "comma" between my script:add , and addRegexTransfomer lines. Any help would be appreciated. My db-data-co

phonetic search

2013-09-02 Thread Sergio Stateri
Please, How can I make I phonetic search in Solr with portuguese (brazilian) language? I tryied including this field type: ... But this didn´t work. I have no idea about how to make a phonetic search. I´m using Solr 4. Thanks in advance, -- Sergio Stateri Jr. stat...@gmail.com

Re: Problem parsing suggest response

2013-09-02 Thread Raymond Wiker
On Sep 2, 2013, at 17:39 , Mysurf Mail wrote: > Hi, > I am having problems parsing suggest json response in c#. > Here is an example > > { > > - responseHeader: > { > - status: 0, > - QTime: 1 > }, > - spellcheck: > { > - suggestions: > [ > - "at", >

Re: Can I use fq parameter without using q parameter.

2013-09-02 Thread Santanu8939967892
Hi Eric, Thanks for your prompt response. Yes, it was my assumption, but will definitely do an analysis if fq query firing is not possible without q parameter. With Regards, Santanu On Mon, Sep 2, 2013 at 8:12 PM, Erick Erickson wrote: > bq: cause *:* consumes more time than a search query.

solr suggestion -

2013-09-02 Thread Mysurf Mail
the following request http://127.0.0.1:8983/solr/vault/suggest?wt=json&q=at%20l Returns phrases that starts with at and with l (as shown below ) Now, what if I want phrases that starts with "At l" such as "At Least..." Thanks. { - responseHeader: { - status: 0, - QTime: 1

Problem parsing suggest response

2013-09-02 Thread Mysurf Mail
Hi, I am having problems parsing suggest json response in c#. Here is an example { - responseHeader: { - status: 0, - QTime: 1 }, - spellcheck: { - suggestions: [ - "at", - { - numFound: 1, - startOffset:

Re: Solr Query taking so much time to retrieve data

2013-09-02 Thread Erick Erickson
I have no idea, especially since the syntax of the query is wrong, is this a cut/paste error? Because you should have something like &q=UniqueID:[* TO 123], you left off the "q=" bit. Otherwise, depending on whether you have a default query specified you may be getting a much different query than

Re: Can I use fq parameter without using q parameter.

2013-09-02 Thread Erick Erickson
bq: cause *:* consumes more time than a search query. what's your evidence for this? q=*:* is handled specially as a "constant score query", it should be very fast. Or is this an assumption on your part? And remember that even on a *:* query, the first time after a new searcher is opened there w

Re: Measuring SOLR performance

2013-09-02 Thread Erick Erickson
filter and facet queries can be freely intermixed, it's not a problem. What problem are you seeing when you try this? Best, Erick On Mon, Sep 2, 2013 at 7:46 AM, Dmitry Kan wrote: > Hi Roman, > > What's the format for running the facet+filter queries? > > Would something like this work: > > fi

Solr Query taking so much time to retrieve data

2013-09-02 Thread vrparekh
Hello, I am using solr 3.6 In that one field name is UniqueID. I want to get only those data which less than some particular UniqueID So I tried by below mentioned way. Suppose I want only those results which are less than 123 than http://SolrURL/Core/select?start=0&Rows=10&..&UniqueID:[*+T

Can I use fq parameter without using q parameter.

2013-09-02 Thread Santanu8939967892
Hi, Can I use fq parameter without using q parameter. I don't want to do a search like [q = *:* & fq=field1:""], cause *:* consumes more time than a search query. With Regards, Santanu

Re: setQuery in SolrJ

2013-09-02 Thread Shawn Heisey
On 9/2/2013 5:53 AM, Sergio Stateri wrote: > How can I looking for an exact phrase in query.setQuery method (SolrJ)? > > Like this: > > SolrQuery query = new SolrQuery(); > query.setQuery( "(descricaoRoteiro: BPS 8D BEACH*)" ); > query.set("start", "200"); > query.set("rows", "10"); > query.addFi

Re: setQuery in SolrJ

2013-09-02 Thread François Schiettecatte
Shouldn't the search be more like this if you are searching in the 'descricaoRoteiro' field: descricaoRoteiro:(BPS 8D BEACH*) or in your example you have a space in between 'descricaoRoteiro' and 'BPS': descricaoRoteiro:BPS 8D BEACH* François On Sep 2, 2013, at 8:08 AM, Dmitr

Re: setQuery in SolrJ

2013-09-02 Thread Dmitry Kan
Hi, What's your default query field in solrconfig.xml? [WHAT IS IN HERE?] I think what's happening is that the query: (descricaoRoteiro: BPS 8D BEACH*) gets interpreted as: descricaoRoteiro:BPS (8D BEACH*) then on the (8D BEACH*) a default field name is applied. You can use debugQuery para

setQuery in SolrJ

2013-09-02 Thread Sergio Stateri
hi, How can I looking for an exact phrase in query.setQuery method (SolrJ)? Like this: SolrQuery query = new SolrQuery(); query.setQuery( "(descricaoRoteiro: BPS 8D BEACH*)" ); query.set("start", "200"); query.set("rows", "10"); query.addField("descricaoRoteiro"); QueryResponse rsp = server.quer

Re: Measuring SOLR performance

2013-09-02 Thread Dmitry Kan
Hi Roman, What's the format for running the facet+filter queries? Would something like this work: field:foo >=50 fq=other_field:bar facet=true facet.field=facet_field_name Thanks, Dmitry On Fri, Aug 23, 2013 at 2:34 PM, Dmitry Kan wrote: > Hi Roman, > > With adminPath="/admin" or adminP

Re: Solr 4.2 Regular expression, returning only matched substring

2013-09-02 Thread jai2
hi Erick, Thanks alot for your reply. i am still looking for any feasible solution, currently i can only think of creating another core having schema with patterntokenizer class field types, load it and re-index search results on this temp core. is there any way to provide list of patterns for to

Re: Solr starting problem after spellchecker configuration

2013-09-02 Thread manju16832003
Hi, Following post help you. http://stackoverflow.com/questions/7512945/solr-error-opening-new-searcher-exceeded-limit-of-maxwarmingsearchers-2-try Thanks -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-starting-problem-after-spellchecker-configuration-tp4087766p4087

Re: SolrCloud - Path must not end with / character

2013-09-02 Thread Prasi S
Does this have anyting to do with tomcat? I cannot go back as we already fixed with tomcat. Any suggestions pls. The same setup , if i copy and run it on a different machine, it works fine. Am not sure what is missing. Is it because of some system parameter getting set? On Fri, Aug 30, 2013 at 9