Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Uniqueness constraint verification moved in LuceneSchemaIndex
Verification of uniqueness constraint happens inside IndexPopulationJob after all nodes are indexed and present in lucene the corresponding lucene index. Currently verification logic is exposed by IndexReader interface which is used by IndexPopulator to actually perform the validation. This is a temporary state and was introduces while moving schema indexes to partitioned lucene infrastructure. This commit moves methods for uniqueness constraint verification from IndexReader to LuceneSchemaIndex where they actually belong. It also introduces UniquenessVerifier interface with two implementations - SimpleUniquenessVerifier and PartitionedUniquenessVerifier that contain actual verification logic and use lucene API. Later verifier is not yet implemented.
- Loading branch information
1 parent
6dbabfc
commit 1efd647
Showing
13 changed files
with
281 additions
and
202 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.