lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karthick Sankarachary (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-2430) An Archiving Split Policy For Managing Non-Searchable Documents
Date Tue, 04 May 2010 19:23:55 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-2430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Karthick Sankarachary updated LUCENE-2430:
------------------------------------------

        Summary: An Archiving Split Policy For Managing Non-Searchable Documents  (was: An
Archiving Split Policy For Managing Past-Their-Prime Non-Searchable Documents)
    Description: 
(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 that are "past their prime" 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.

  was:
(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.


> An Archiving Split Policy For Managing Non-Searchable Documents
> ---------------------------------------------------------------
>
>                 Key: LUCENE-2430
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2430
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: Index
>            Reporter: Karthick Sankarachary
>         Attachments: LUCENE-2430.patch
>
>
> (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 that are "past their prime"
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message