lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Smith (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-1618) Allow setting the IndexWriter docstore to be a different directory
Date Tue, 28 Apr 2009 13:02:30 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-1618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12703630#action_12703630
] 

Tim Smith commented on LUCENE-1618:
-----------------------------------

{quote}
You mean an opened IndexOutput would write its output to two (or more) different places? So
you could "write through" a RAMDir down to an FSDir? (This way both the RAMDir and FSDir have
a copy of the index).
{quote}

yes, so if you register more than one directory for "index files", then the IndexOutput for
the directory would dispatch to an IndexOutput for both sub directories
then, the IndexInput would only be opened on the "primary" directory (for instance, the RAM
directory)

This will allow extremely fast searches, with the persistence of a backing FSDirectory

coupled with then having a set of directories for the "Stored Documents", then allows:
* RAM directory search speed
* All changes persisted to disk
* Documents Stored (and retrieved from disk) (or optionally retrieved from RAM)


> Allow setting the IndexWriter docstore to be a different directory
> ------------------------------------------------------------------
>
>                 Key: LUCENE-1618
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1618
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Index
>    Affects Versions: 2.4.1
>            Reporter: Jason Rutherglen
>            Priority: Minor
>             Fix For: 2.9
>
>   Original Estimate: 336h
>  Remaining Estimate: 336h
>
> Add an IndexWriter.setDocStoreDirectory method that allows doc
> stores to be placed in a different directory than the IW default
> dir.

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


Mime
View raw message