-
Notifications
You must be signed in to change notification settings - Fork 38
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
Update bool operator syntax for Elasticsearch simple_query_string and excludes #6360
Closed
1 task
Comments
9 tasks
Moving since we are freezing JS work until webpack is in |
Remove exclude boolean field from statutes search until we have documents indexed. |
We are not going to address this at the moment since statutes may eventually get this functionality and it's too tightly coupled to our current global legal search to accommodate removing it. |
patphongs
changed the title
Update bool operator syntax for Elasticsearch simple_query_string
Update bool operator syntax for Elasticsearch simple_query_string and excludes
Aug 9, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
What we're after:
We are considering updating our the way we parse and execute query strings by switching from
query_string
tosimple_query_string
in the API. With this change will require the CMS app to update how we are passing the API call through.Syntax update
Current UI
((coordinated OR communications) OR (in-kind AND contributions) OR ("independent expenditure")) AND (-travel -authorization)
Web UI update
(coordinated | communications)|(in-kind + contributions)|("independent expenditure") -travel -authorization
API query transformation
q=((coordinated|communications)|(in-kind+%2bcontributions)|("independent+expenditure"))&q_exclude=(travel+authorization)
Related issues
List any relevant related issue(s)
Completion criteria
The text was updated successfully, but these errors were encountered: