Answer the question
In order to leave comments, you need to log in
How to improve Sphinx relevancy?
Can't beat and improve Sphinx relevancy
Have search query "T4P (25030124) SKELETAL LEVEL 1200mm"
Have sphinx result:
T4P level 2503905 (Item code: 86200; Weight: 491689)
T4P level 2503004 (Item code: 88811; Weight: 491689)
T4P level 2503008 (Product code: 88812; Weight: 491689)
T4P level 2503112 (Product code: 88813; Weight: 491689)
T4P level 2503920 (Product code: 98089; Weight: 491689)
T4P level 2503018 (Product code: 98093; Weight: 491689)
T4P Level 2503206 (Item Code: 98094; Weight: 491689)
T4P Level 2503210 (Item Code: 98095; Weight: 491689)
T4P Level 2503215 (Item Code: 98096; Weight: 491689)
T4P Level 2503910 (Item Code: 98; 09: 98; Weight: 491689)
T4P level 2503010 (Product code: 98100; Weight: 491689)
T4P level 2503012 (Product code: 98101; Weight: 491689)
T4P level 2503015 (Product code: 98102; Weight: 491689) T4P
sanding paper Weight 2204320 (Product code: 86220) : 487190)
Hacksaw T4P 2601052 (Item code: 86207; Weight: 487190)
T4P pliers 3501123 (Item code: 86208; Weight: 487190)
A number of results are obtained with one weight. But one result should obviously be more relevant, I highlighted it in bold, since I simply added 4 to the product code "T4P Level 2503012" in the query, if you search correctly, then this product has the largest weight, if you add a number at the end of the code, then a lot goods becomes with one weight.
Here is my config:
index test045{
source = test045
path = /var/lib/sphinxsearch/data/test045
docinfo = extern
morphology = stem_enru
html_strip = 1
min_infix_len = 1
enable_star = 1
index_exact_words = 1
expand_keywords = 1
charset_type = utf-8
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question