You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2018/07/02 19:01:00 UTC

[jira] [Commented] (LUCENE-8379) Add TermQuery.getTermContext

    [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org