Re: Help to Understand a Solr Query

2014-05-16 Thread Shawn Heisey
On 5/13/2014 8:56 AM, nativecoder wrote: > Exact_Word" omitPositions="true" termVectors="false" > omitTermFreqAndPositions="true" compressed="true" type="string_ci" > multiValued="false" indexed="true" stored="true" required="false" > omitNorms="true"/> > > multiValued="false" indexed="true" stor

Re: Help to Understand a Solr Query

2014-05-15 Thread nativecoder
Hi All I have a following field settings in solr schema Exact_Word" omitPositions="true" termVectors="false" omitTermFreqAndPositions="true" compressed="true" type="string_ci" multiValued="false" indexed="true" stored="true" required="false" omitNorms="true"/> As you can see Exact_Word has

Re: Help to Understand a Solr Query

2014-05-15 Thread Jack Krupansky
-user@lucene.apache.org Subject: Re: Help to Understand a Solr Query Hi All I have a following field settings in solr schema Exact_Word" omitPositions="true" termVectors="false" omitTermFreqAndPositions="true" compressed="true" type="string_ci" mult

Re: Help to Understand a Solr Query

2014-05-06 Thread Jack Krupansky
Think of debugQuery as your "Solr BFF"! -- Jack Krupansky -Original Message- From: nativecoder Sent: Tuesday, May 6, 2014 7:36 AM To: solr-user@lucene.apache.org Subject: Re: Help to Understand a Solr Query Thank you this is what I was looking for all this time I

Re: Help to Understand a Solr Query

2014-05-06 Thread nativecoder
Thank you this is what I was looking for all this time I wanted to understand how the query that I passed being evaluated by solr -- View this message in context: http://lucene.472066.n3.nabble.com/Help-to-Understand-a-Solr-Query-tp4134686p4134904.html Sent from the Solr - User mailing list

Re: Help to Understand a Solr Query

2014-05-06 Thread Jack Krupansky
alternatives - at least one of the alternatives must match. -- Jack Krupansky -Original Message- From: nativecoder Sent: Tuesday, May 6, 2014 4:44 AM To: solr-user@lucene.apache.org Subject: Re: Help to Understand a Solr Query When I go through the debug results I f

Re: Help to Understand a Solr Query

2014-05-06 Thread nativecoder
When I go through the debug results I found this. Can you explain me what is the + and | sign means. +( +DisjunctionMaxQuery( ( Exact_Field1:"samplestring1"^0.6 | Exact_Field2:samplestring1^0.5 | Field1:samplestring1^0.9 | Field2:samplestring1 ) ) +DisjunctionMa

Re: Help to Understand a Solr Query

2014-05-06 Thread nativecoder
When I go through the debug results I found this. Can someone explain me what is the + and | sign means. +( +DisjunctionMaxQuery( ( Exact_Field1:"samplestring1"^0.6 | Exact_Field2:samplestring1^0.5 | Field1:samplestring1^0.9 | Field2:samplestring1 ) ) +Disju

Re: Help to Understand a Solr Query

2014-05-05 Thread Alexandre Rafalovitch
If you are looking for that level of understanding, you are best enabling the debug flag. Then you will get a full breakdown of what matched which field and why. Including scores, preferences, etc. Possibly with debug.explained.structured enabled: http://wiki.apache.org/solr/CommonQueryParameters#d

Re: Help to Understand a Solr Query

2014-05-05 Thread nativecoder
That answer helps a lot Where would the OR clause be ? (Exact_Field1:samplestring1 OR Exact_Field1:samplestring2) AND (Exact_Field2:samplestring1 OR Exact_Field2:samplestring2) AND (Field1:samplestring1 OR Field1:samplestring2) AND (Field2:samplestring1 OR Field2:samplestring2) Please note that

Re: Help to Understand a Solr Query

2014-05-05 Thread nativecoder
That answer helps a lot Where would the OR clause be ? (Exact_Field1:samplestring1 *OR* Exact_Field1:samplestring2) AND (Exact_Field2:samplestring1 *OR* Exact_Field2:samplestring2) AND (Field1:samplestring1 *OR* Field1:samplestring2) AND (Field2:samplestring1 *OR* Field2:samplestring2) Please n

Re: Help to Understand a Solr Query

2014-05-05 Thread Jack Krupansky
apache.org Subject: Re: Help to Understand a Solr Query I already went through the link. I understand about the boosting factor for the relevancy query=samplestring1 AND samplestring2 defType: edismax queryFields: Exact_Field1^1.0 Exact_Field2^0.9 Field1^0.8 Field2^0.7 fieldList: Column1, Column2

Re: Help to Understand a Solr Query

2014-05-05 Thread nativecoder
I already went through the link. I understand about the boosting factor for the relevancy query=samplestring1 AND samplestring2 defType: edismax queryFields: Exact_Field1^1.0 Exact_Field2^0.9 Field1^0.8 Field2^0.7 fieldList: Column1, Column2 I need to understand whether the samplestring1 and sam

Re: Help to Understand a Solr Query

2014-05-05 Thread Jack Krupansky
Read up on the edismax query parser first: http://wiki.apache.org/solr/ExtendedDisMax The "^" operator is known as boosting or field boosting and is used to influence document scores for relevancy. It has no analog in SQL. -- Jack Krupansky -Original Message- From: nativecoder Sent