课程搜索只能搜索title
This commit is contained in:
parent
b94553edcd
commit
163abb70de
|
@ -107,7 +107,7 @@ class Syllabus < ActiveRecord::Base
|
|||
query: query,
|
||||
type:"most_fields",
|
||||
operator: "or",
|
||||
fields: ['title', 'description^0.5']
|
||||
fields: ['title']
|
||||
}
|
||||
},
|
||||
sort: {
|
||||
|
|
Loading…
Reference in New Issue