Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Similar to OAK-3403 we need support multiplexing store in Lucene indexes. This can be done by having multiple directories under given index definition.
For e.g. currently the Lucene indexes for an index /oak:index/assetIndex are stored in node /oak:index/assetIndex/:dir. For supporting multiple indexes which get stored in different stores we can have structure like
/oak:index/assetIndex + :oak:mount1-dir + :dir
In above structure index content for paths which are part of mount1 would be store in Lucene files stores under :oak:mount1-dir while the rest go in default location {{:dir}
- Writing - At the time of indexing the LuceneIndexEditor should pick up correct writer i.e. one which is mapped to right directory node in repository
- Reading - For reading we would have one IndexSearcher per directory node and then query would be executed against both and a joined cursor would be made
Attachments
Issue Links
- blocks
-
OAK-4412 Lucene hybrid index
- Closed
- is blocked by
-
OAK-4616 Record suggestor status in suggest-data node
- Closed
- is related to
-
OAK-4643 Support multiple readers in suggester, spellcheck and faceted search
- Open
-
OAK-4644 Support multiple readers in LuceneIndexMBean
- Open
-
OAK-4607 Add support for multiple directory in IndexCopier
- Closed
- relates to
-
OAK-3402 Multiplexing NodeStore support in Oak layer
- Open