All must queries (and the rest of course) work ok when i search MAINK, MAINL,
MAINQ,..., MAINT etc.. for street name
with all consonants except S is used and all other fields are the same for all
queries (NASUA, HILLSBOROUGH, NEW HAMPSHIRE, UNITED STATES)
ie., working means: the top result is co
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")
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
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
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
Hi,-
how can one find out each score contribution from booleanquery components?
Best regards
-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org
Let me ask the next question in another thread,
and it is:
how to find out each score contribution from a booleanquery.
Best regards
On 6/26/19 11:53 AM, baris.ka...@oracle.com wrote:
This should be very straight forward usage but i am not getting any
usefeul info from explain:
Explanation
This should be very straight forward usage but i am not getting any
usefeul info from explain:
Explanation expl = is.explain(booleanQuery.build(), 10);
System.out.println(expl);
This prints:
0.0 = Failure to meet condition(s) of required/prohibited clause(s)
0.0 = no match on required clause
Yes, i know that feature but so far it did not help me much but
i am still looking into that.
Thanks
On 6/26/19 2:41 AM, Adrien Grand wrote:
You can use IndexSearcher#explain to see how scores are computed.
On Wed, Jun 26, 2019 at 12:48 AM wrote:
Hi,-
i really want to know why the scor