Skip to content

Commit b65c495

Browse files
committed
Merge pull request ruby-china#533 from hemslo/simple-query-string
Use simple_query_string for search
2 parents cdcaf3c + 168600e commit b65c495

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/search_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ class SearchController < ApplicationController
22
def index
33
search_params = {
44
query: {
5-
query_string: {
5+
simple_query_string: {
66
query: params[:q],
77
default_operator: 'AND',
88
minimum_should_match: '90%',

0 commit comments

Comments
 (0)