In preparation for new index types separate common logic from Lucene specific logic. No functional changes are made as part of this commit, just moving code around and refactoring to accept multiple index implementations.
In most cases this amounts to moving code out of PartKeyLuceneIndex and into PartKeyIndexRaw without further changes. In a few cases things that were instaniating Lucene specific types now use callbacks or other approaches to allow instantiating index specific types.
Pull Request checklist
[X] The commit(s) message(s) follows the contribution guidelines ?
[X] Tests for the changes have been added (for bug fixes / features) ?
[X] Docs have been added / updated (for bug fixes / features) ?
In preparation for new index types separate common logic from Lucene specific logic. No functional changes are made as part of this commit, just moving code around and refactoring to accept multiple index implementations.
In most cases this amounts to moving code out of PartKeyLuceneIndex and into PartKeyIndexRaw without further changes. In a few cases things that were instaniating Lucene specific types now use callbacks or other approaches to allow instantiating index specific types.
Pull Request checklist