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

Michael McCandless commented on LUCENE-4828:
--------------------------------------------

bq. This seems highly dependent on what the extractTerms is being used for?

True, but as far as I know the dominant use case is for highlighting, where 
it's confusing to see your MUST_NOT terms highlighted.

And SpanNotQuery doesn't include terms from its excluded query ...

It also causes problems for users, e.g. 
http://stackoverflow.com/questions/13633409/skipping-terms-of-must-not-clauses-during-term-extraction
                
> BooleanQuery.extractTerms should not recurse into MUST_NOT clauses
> ------------------------------------------------------------------
>
>                 Key: LUCENE-4828
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4828
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: core/search
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 5.0, 4.3
>
>         Attachments: LUCENE-4828.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to