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

Michael McCandless commented on LUCENE-8379:
--------------------------------------------

Simple patch; I marked the new method as {{@lucene.experimental}}.

> Add TermQuery.getTermContext
> ----------------------------
>
>                 Key: LUCENE-8379
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8379
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>            Priority: Major
>         Attachments: LUCENE-8379.patch
>
>
> The {{TermQuery}} class can optionally hold a {{TermContext}} which hold 
> pre-computed, per leaf data to make seeking (to postings for that term) 
> faster.  I'd like to add a getter for it, to help with diagnostics, just 
> knowing whether a given {{TermQuery}} holds a term context or not.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to