Re: how to find out each score contribution from booleanquery components

2019-06-28 Thread baris . kazar
tributing score to the total score for each result hit document. Best regards - Original Message - From: a...@apache.org To: java-user@lucene.apache.org Sent: Wednesday, June 26, 2019 1:09:36 PM GMT -05:00 US/Canada Eastern Subject: Re: how to find out each score contribution from bo

Re: how to find out each score contribution from booleanquery components

2019-06-27 Thread baris . kazar
y i want to see each score from each of the component of the booleanquery. so far i checked Lucene but could not find a way to see each contributing score to the total score for each result hit document. Best regards - Original Message - From: a...@apache.org To: java-user@lucene.apache.org Sent: Wedn

Re: how to find out each score contribution from booleanquery components

2019-06-27 Thread baris . kazar
ors in them and the rest is phrase query as they are correct that is why i want to see each score from each of the component of the booleanquery. so far i checked Lucene but could not find a way to see each contributing score to the total score for each result hit document. Best regards -

Re: how to find out each score contribution from booleanquery components

2019-06-27 Thread Erick Erickson
ugh to catch MAIN when i search with >>> street MAINS, city NASUA, municipality HILLSBOROUGH, state NEW HAMPSHIRE, >>> cuntry UNITED STATES >>> where the first two are fuzzy as they are have errors in them and the rest >>> is phrase query as they are correct >

Re: how to find out each score contribution from booleanquery components

2019-06-27 Thread András Péteri
; where the first two are fuzzy as they are have errors in them and the rest > > is phrase query as they are correct > > > > that is why i want to see each score from each of the component of the > > booleanquery. > > so far i checked Lucene but could not find a way to see each contribut

Re: how to find out each score contribution from booleanquery components

2019-06-27 Thread baris . kazar
: Wednesday, June 26, 2019 1:09:36 PM GMT -05:00 US/Canada Eastern Subject: Re: how to find out each score contribution from booleanquery components It seems evident that multiple of your Must clauses are not matching any document, hence no results are being returned? On Wed, 26 Jun 2019 at 6:51 PM

Re: how to find out each score contribution from booleanquery components

2019-06-26 Thread Baris Kazar
Message - From: a...@apache.org To: java-user@lucene.apache.org Sent: Wednesday, June 26, 2019 1:09:36 PM GMT -05:00 US/Canada Eastern Subject: Re: how to find out each score contribution from booleanquery components It seems evident that multiple of your Must clauses are not matching any

Re: how to find out each score contribution from booleanquery components

2019-06-26 Thread Atri Sharma
It seems evident that multiple of your Must clauses are not matching any document, hence no results are being returned? On Wed, 26 Jun 2019 at 6:51 PM, wrote: > Sure, here is the query plan: (i cant run explain plan as it does not > give me anything) > > [+streetDFLT:maink~2 (streetDFLT:"maine")

Re: how to find out each score contribution from booleanquery components

2019-06-26 Thread baris . kazar
This is a nested (2-level in this case) booleanquery. Best regards On 6/26/19 1:06 PM, baris.ka...@oracle.com wrote: Sure, here is the query plan: (i cant run explain plan as it does not give me anything) [+streetDFLT:maink~2 (streetDFLT:"maine")^0.35, +cityDFLT:nasua~2 (cityDFLT:"nasuh")^0

Re: how to find out each score contribution from booleanquery components

2019-06-26 Thread baris . kazar
Sure, here is the query plan: (i cant run explain plan as it does not give me anything) [+streetDFLT:maink~2 (streetDFLT:"maine")^0.35, +cityDFLT:nasua~2 (cityDFLT:"nasuh")^0.35, ++regionDFLT:"new-hampshire" (regionDFLT:"new-hammpshire")^0.98, ++countryDFLT:"united" (countryDFLT:"uniten")^0.4

Re: how to find out each score contribution from booleanquery components

2019-06-26 Thread Atri Sharma
It depends a lot on the actual clauses (whether they are SHOULD, MUST, MUST_NOT), each query’s type (phrase, term etc). Could you post your query and the explain plan of IndexSearcher post the rewrite? On Wed, 26 Jun 2019 at 6:46 PM, wrote: > Hi,- > > how can one find out each score contribut