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 2013/01/17 20:38:12 UTC
[jira] [Created] (LUCENE-4695) Add utility class for getting live
values for a given field during NRT indexing
Michael McCandless created LUCENE-4695:
------------------------------------------
Summary: Add utility class for getting live values for a given field during NRT indexing
Key: LUCENE-4695
URL: https://issues.apache.org/jira/browse/LUCENE-4695
Project: Lucene - Core
Issue Type: Bug
Reporter: Michael McCandless
Assignee: Michael McCandless
Fix For: 4.2, 5.0
This is a simple utility/wrapper class, that holds the field
values for recently indexed documents until the NRT reader has
refreshed, and exposes a "get" API to get the last indexed value per
id.
For example one could use this to look up the "version" field for a
given id, even when that id was just indexed and not yet visible in
the NRT reader.
The implementation is fairly simple: it just watches the gen coming
out of NRTManager and updates/prunes accordingly.
The class is abstract: you must subclass it and impl the lookupFromSearcher
method...
--
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org