Skip to content

Conversation

@patrick-austin
Copy link
Contributor

@patrick-austin patrick-austin commented Apr 4, 2022

Covers a variety of improvements to free text search functionality.
Closes #18 #19 #25 #26 #30

Functional changes

Added the ability to:

  • Search on over 2 billion documents
  • Apply sorting on specific entity fields
  • "Infinitely" search the data by using the searchAfter parameter
  • Request the facets of a search
  • Expanding the text field into more specific fields that reflect the ICAT schema to allow field targetting
  • Support for unit conversion on numeric Parameters

Architectural changes

In addition to changes to various functions on the main Lucene class:

  • Refactored mapping of fields to its own class DocumentMapping
  • Created FacetedDimension to store the results of a request to facet the documents
  • Refactored the Search from Lucene into its own dedicated SearchBucket class to handle building of complex queries and additional searching parameters (e.g. sorting)
  • ShardBucket added alongside IndexBucket in Lucene to reflect the distinction between a single directory of Lucene Documents (ShardBucket) and a way to access all Documents of one entity type contained in one or more directories (IndexBucket)

Interdependencies on other components

dependabot bot and others added 30 commits August 11, 2020 09:28
Bumps `luceneVersion` from 5.3.0 to 8.6.0.

Updates `lucene-core` from 5.3.0 to 8.6.0

Updates `lucene-queryparser` from 5.3.0 to 8.6.0

Updates `lucene-analyzers-common` from 5.3.0 to 8.6.0

Updates `lucene-join` from 5.3.0 to 8.6.0

Signed-off-by: dependabot[bot] <[email protected]>
…n-8.6.0

Dependabot/maven/lucene version 8.6.0 into 18
@patrick-austin patrick-austin marked this pull request as ready for review March 5, 2025 11:08
@patrick-austin patrick-austin merged commit 47ac5dc into master Mar 5, 2025
1 of 2 checks passed
@patrick-austin patrick-austin deleted the 18_search_improvements branch March 5, 2025 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve Lucene Search Functionality

5 participants