You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.2 KiB
1.2 KiB
Generic Search Slice Test Plan
This patch adds a minimal but useful integration-test baseline for the new generic search slices.
What is covered
- PostgreSQL full-text search over
DOC.doc_text_representation.search_vector - PostgreSQL trigram search over document title / summary / representation text
- hybrid orchestration and document-level collapse
- representation selection modes (
PRIMARY_ONLY,PRIMARY_AND_CHUNKS) - REST endpoint smoke tests for:
POST /api/searchPOST /api/search/debugGET /api/search/metrics
Recommended execution order
- Apply the search-slice DB migration(s) or ensure the runtime schema already contains the lexical search columns.
- Run the new integration tests with PostgreSQL Testcontainers.
- Start the application locally and try the included Postman requests.
- Only after lexical tests are green, add semantic engine integration tests.
Notes
- The test application intentionally imports only the DOC domain services and lexical search beans.
- Semantic/vector beans are left out to keep the test context small and deterministic.
- The base test class adds the
search_configandsearch_vectorcolumns if they are not already present.