-
Notifications
You must be signed in to change notification settings - Fork 1
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
Searching for something with ( breaks it #12
Comments
We currently use text query in elasticsearch https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html This parses the search term and errors if there are problems with it. A single open ( will cause an issue as elastic-search can not parse this. We should probably just catch the error and supply feedback to the user as to why the search failed. |
@kindly Can you check that the simple search feature in elastic does actually support multi-term search? Ta |
I'm not sure. If I'm searching docs, I don't think I expect to be able to use any sort of advanced search operators |
Copying comment by @robredpath in Trello: Great! So we think there's a choice to be made here between:
@kindly is going to check that the simple search feature in elastic does actually support multi-term search |
FYI, |
Noting that queries with
|
Open Network Traffic Debugger
Open https://standard.open-contracting.org/latest/en/search/?q=json(&check_keywords=yes&area=default#
Watch the request to the server 500
The text was updated successfully, but these errors were encountered: