Skip to content

Add tests for Lucene lifecycle and query types in GigaMap#645

Open
zdenek-jonas wants to merge 1 commit intomainfrom
zj/lucene-tests-240426
Open

Add tests for Lucene lifecycle and query types in GigaMap#645
zdenek-jonas wants to merge 1 commit intomainfrom
zj/lucene-tests-240426

Conversation

@zdenek-jonas
Copy link
Copy Markdown
Contributor

This pull request adds comprehensive test coverage for the GigaMap-Lucene integration, focusing on both lifecycle management and query type support. Two new test classes are introduced: one to validate the lifecycle and concurrency aspects of Lucene indexes managed via GigaMap, and another to ensure that a wide variety of Lucene query types are correctly supported through the integration layer.

Lifecycle and Concurrency Tests:

  • Added LuceneLifecycleTest.java to verify key lifecycle behaviors such as index close/reopen, document update propagation, manual commit handling, large data set indexing, and concurrent add/search operations, ensuring robust integration and thread safety.

Lucene Query Type Support Tests:

  • Added LuceneQueryTypesTest.java to exercise and validate support for various Lucene query types (wildcard, phrase, boolean, fuzzy, numeric range), custom analyzers and directory creators, and score ordering, confirming the flexibility and correctness of the query interface.

@zdenek-jonas zdenek-jonas requested a review from fh-ms April 24, 2026 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants