Commit d706891f authored by Randall Leeds's avatar Randall Leeds

Use 'uri.parts' for 'any' field searches

parent c7eb8228
...@@ -65,7 +65,7 @@ module.exports = class QueryParser ...@@ -65,7 +65,7 @@ module.exports = class QueryParser
query_type: 'multi_match' query_type: 'multi_match'
match_type: 'cross_fields' match_type: 'cross_fields'
and_or: 'and' and_or: 'and'
fields: ['quote', 'tags', 'text', 'uri', 'user'] fields: ['quote', 'tags', 'text', 'uri.parts', 'user']
populateFilter: (filter, query) => populateFilter: (filter, query) =>
# Populate a filter with a query object # Populate a filter with a query object
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment