Chetan Mehrotra created OAK-1724:
------------------------------------

             Summary: Enable copying of Lucene index to local file system for 
read queries
                 Key: OAK-1724
                 URL: https://issues.apache.org/jira/browse/OAK-1724
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: query
            Reporter: Chetan Mehrotra
            Assignee: Chetan Mehrotra
             Fix For: 1.0, 1.1


Currently the Lucene index is stored in NodeStore and is accessed via 
OakDirectory which is an implementation of [Lucene 
Directory|https://lucene.apache.org/core/4_0_0/core/org/apache/lucene/store/Directory.html].
 This would work fine for SegmentStore but does not work very well when 
BlobStore is used as with DocumentNodeStore

For such scenarios it should be possible to copy the Lucene index to local file 
system and then read queries are performed using that. IndexWriter would 
continue to use the OakDirectory to store the updated index content in 
NodeStore. 

As Lucene does not modify any index file once created (ther are either deleted 
or new one created), it should be possible to incrementally update the index by 
copying newly created segment files. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to