An Archiving Split Policy For Managing Past-Their-Prime Non-Searchable Documents
--------------------------------------------------------------------------------
Key: LUCENE-2430
URL: https://issues.apache.org/jira/browse/LUCENE-2430
Project: Lucene - Java
Issue Type: New Feature
Reporter: Karthick Sankarachary
(Please note that the feature described in LUCENE-2425 is required reading for
this issue.)
The archiving split policy extends the rotating split policy by archiving
sub-indices over-flowing from the split index. This allows for older documents
in the index to be available outside the context of the split index, even if
they are no longer visible therein.
It does so by overriding the RotatingSplitPolicy#maybeExpungeOldestSplit
method. In particular, it archives (i.e., makes a copy of) the last sub-index
(about to be expunged), just before the rotating policy actually expunges it.
Just like the rotating split policy constrains the number of sub-indices, the
archiving split policy too puts a limit on the number of sub-archives (i.e.
sub-indices that have been archived and expunged) that the split index will
maintain at any given point in time.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]