Chetan Mehrotra created OAK-5421:
------------------------------------
Summary: Add LuceneDoc directly to queue from LuceneIndexEditor
Key: OAK-5421
URL: https://issues.apache.org/jira/browse/OAK-5421
Project: Jackrabbit Oak
Issue Type: Improvement
Components: lucene
Reporter: Chetan Mehrotra
Assignee: Chetan Mehrotra
Fix For: 1.5.18, 1.6
Currently the LuceneDoc is created from {{LuceneIndexEditor}} and added to
{{LuceneDocumentHolder}}. From there its added to queue in LocalIndexObserver.
This can be improved by adding the document directly to DocumentQueue which
would help in sync index where the document would get added to index by the
time commit completes and reaches observer stage and LocalIndexObserver would
not have to wait for indexing to complete.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)