lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrien Grand (JIRA)" <>
Subject [jira] [Commented] (LUCENE-6415) TermsQuery.extractTerms should not throw an UOE
Date Fri, 10 Apr 2015 13:09:13 GMT


Adrien Grand commented on LUCENE-6415:

Uwe: I was also wondering that it might make sense to move this method to Weight so that we
only have to implement it for core queries and not those that always rewrite to a different
query? (extractTerms documentation states it only makes sense on rewritten queries)

Robert: The issue is that it fails term extraction for the whole query even if this query
is only used for filtering. Maybe we could make extractTerms a no-op on TermsQuery and then
it would behave just like when this query was still only a filter?

> TermsQuery.extractTerms should not throw an UOE
> -----------------------------------------------
>                 Key: LUCENE-6415
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Bug
>    Affects Versions: 5.1
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>            Priority: Minor
> TermsQuery inherits the default impl of extractTerms which throws an UnsupportedOperationException.

This message was sent by Atlassian JIRA

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

View raw message