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

Yonik Seeley commented on LUCENE-1618:
--------------------------------------

As it relates to near real time, the search speed of the RAM directory in 
relation to FSDirectory seems unimportant (what is this diff anyway?) - the 
FSDirectory will be much larger and that is where the bulk of the search time 
will be.

It seems like the main benefit of RAMDirectory for NRT is faster creation time 
(no need to create on-disk files, write them, then sync them), right?  Actually 
the sync is only needed if a new segments file will be written... but there 
still may be synchronous metadata operations for open-write-close of a file, 
depending on the FS?


> 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
>
>         Attachments: MemoryCachedDirectory.java
>
>   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-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to