You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2017/05/24 07:51:04 UTC

[jira] [Commented] (LUCENE-7786) TermInSetQuery should include a getter for field

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

Adrien Grand commented on LUCENE-7786:
--------------------------------------

Sorry for coming back to you so late. I think we should entirely change the way this query can be introspected, by removing {{getTermData}}, adding a getter for the field like you did, and also adding a way to get access to the term bytes using a standard java collection, similarly to {{PointInSetQuery.getPackedPoints}} (which is {{TermInSetQuery}}'s equivalent for points).

> TermInSetQuery should include a getter for field
> ------------------------------------------------
>
>                 Key: LUCENE-7786
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7786
>             Project: Lucene - Core
>          Issue Type: Improvement
>    Affects Versions: master (7.0), 6.5
>            Reporter: Michael Braun
>            Priority: Trivial
>
> Per LUCENE-7637, TermInSetQuery is restricted to a single field. However, there is no getter for the field. A public getter should be added to expose the field name.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org