[
https://issues.apache.org/jira/browse/LUCENE-2930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12996935#comment-12996935
]
Jason Rutherglen commented on LUCENE-2930:
------------------------------------------
I'm trying to figure out where to place the last term in the terms dict file,
logically it should be at the beginning in the header, however that'd require
allocating the length of the last term which isn't known until the last term is
arrived at when writing. I guess the next best thing is to write a pointer to
the end of the file where the last term is [fully] written.
> Store the last term in the terms dictionary
> -------------------------------------------
>
> Key: LUCENE-2930
> URL: https://issues.apache.org/jira/browse/LUCENE-2930
> Project: Lucene - Java
> Issue Type: Improvement
> Affects Versions: 4.0
> Reporter: Jason Rutherglen
> Priority: Minor
>
> We can store the last term in the terms dictionary, and allow retrieval of
> the value. This is useful for applications that for example are storing
> sequential ids and want to know the max stored in the index.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]