Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add configurable query types. Create new simple query string option #114

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

instification
Copy link
Member

At present searches are constructed as match queries

However, for various reasons users may wish to incorporate advanced query types such as simple query string

This PR enables configurable search functionality in a backwards compatible way by:

  • Creating a new "Query Type" configuration option
    • Defaults to "Match" which is the existing behaviour of collective.elasticsearch
  • Creating a new Query type option of "Simple Query String"

The work in this PR can also be extended in future to incorporate many different full text queries

Tasks

  • Add query type option
  • Add new simple query string option
  • Write tests
  • Changelog/docs

@instification instification marked this pull request as draft March 19, 2024 11:56
@instification instification marked this pull request as ready for review March 19, 2024 17:25
@instification instification marked this pull request as draft March 19, 2024 17:28
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.

1 participant