diff options
-rw-r--r-- | app/repositories/query_parser/search_query_parser.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/repositories/query_parser/search_query_parser.rb b/app/repositories/query_parser/search_query_parser.rb index 38f7622..7f85087 100644 --- a/app/repositories/query_parser/search_query_parser.rb +++ b/app/repositories/query_parser/search_query_parser.rb @@ -126,7 +126,7 @@ module SearchQueryParser term.tr!(' ', '*') { wildcard: { - name_sort: { + atom: { wildcard: term, boost: 4 } |