Closed jduss4 closed 7 years ago
If query should always be searched the same way (same type):
?q=water&qfield[]=text&qfield[]=annotations
Depending on results of #37 , the "type" of a query may have to be incorporated into this implementation.
Also, api_bridge and orchid are going to have to be altered depending on how this ends up looking
https://www.elastic.co/blog/multi-field-search-just-got-better
This syntax now works for q parameter:
q
https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html#query-string-syntax
Example from above: ?q=water&qfield[]=text&qfield[]=annotations
will now look like
?q=text:water AND annotations:water
If query should always be searched the same way (same type):
?q=water&qfield[]=text&qfield[]=annotations
Depending on results of #37 , the "type" of a query may have to be incorporated into this implementation.
Also, api_bridge and orchid are going to have to be altered depending on how this ends up looking