lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Wang (JIRA)" <>
Subject [jira] Commented: (LUCENE-1345) Allow Filter as clause to BooleanQuery
Date Sat, 10 Jan 2009 17:07:59 GMT


John Wang commented on LUCENE-1345:

Filters by definition (afaik) does not participate in scoring. Since "score gathering" is
done at the BooleanQuery level, does it mean BooleanQuery would need to do instanceof check
to see if it is a Filter? 

Or do we always hardcode filter with score 0? This is also dangerous if people do augment
scores at hitcollector level or score gathering logic changes to something not as straightforward
as summing.

my two cents.

> Allow Filter as clause to BooleanQuery
> --------------------------------------
>                 Key: LUCENE-1345
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Search
>            Reporter: Paul Elschot
>            Priority: Minor
>             Fix For: 2.9
>         Attachments: booleansetperf.txt,, DisjunctionDISI.patch,
DisjunctionDISI.patch, LUCENE-1345.patch, LUCENE-1345.patch,,,

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message