[ 
https://issues.apache.org/jira/browse/LUCENE-6416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14492081#comment-14492081
 ] 

Adrien Grand commented on LUCENE-6416:
--------------------------------------

We have two use-cases for extractTerms today: distributed IDF and highlighting 
and both of them only care about scoring clauses.

Also this way it is consistent with FilteredQuery which does not extract terms 
from the filter.

> BooleanQuery should only extract terms from scoring clauses
> -----------------------------------------------------------
>
>                 Key: LUCENE-6416
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6416
>             Project: Lucene - Core
>          Issue Type: Bug
>    Affects Versions: Trunk, 5.1
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>            Priority: Minor
>             Fix For: Trunk, 5.2
>
>         Attachments: LUCENE-6416.patch
>
>
> BooleanQuery should not extract terms from FILTER clauses.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to