Features: 1) Adjusted field weights in SMART_FIELDS for "name" and "name.ngram" to improve relevance scoring;
Fixes: None; Extra: None;
This commit is contained in:
parent
0a81b12100
commit
5886ca0ab9
1 changed files with 2 additions and 2 deletions
|
|
@ -12,8 +12,8 @@ from rest_framework.request import Request
|
||||||
from core.models import Brand, Category, Product
|
from core.models import Brand, Category, Product
|
||||||
|
|
||||||
SMART_FIELDS = [
|
SMART_FIELDS = [
|
||||||
"name^5",
|
"name^6",
|
||||||
"name.ngram^4",
|
"name.ngram^5",
|
||||||
"name.phonetic",
|
"name.phonetic",
|
||||||
|
|
||||||
"title^4",
|
"title^4",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue