Description
LuceneIndexEditor currently does 2 tasks
- Perform diff and figure out if a given NodeState is to be indexed
- Make a Lucene Document if the NodeState is to be indexed
For OAK-4808 its already known that node at given path is to be indexed and only Lucene Document is to be created. For enabling such case we should refactor out the logic for #2 to separate LuceneDocumentMaker class