D
D
Denis K2015-11-13 15:08:44
PHP
Denis K, 2015-11-13 15:08:44

Sphinx incorrect search results, how can fight?

Colleagues, tell me please, there are goods:
Shower cabin Radomir Paola 1 with hydromassage
...
... Acrylic bathtub Am.Pm
Bliss L 170x75 without hydromassage
without". It would be possible to exclude everything from the search index after the prepositions "not", "without", etc., but then the user will not be able to find "without hydromassage", and this is not correct. Please tell me how would someone decide.
I write in php, use sphinxapi
$s->setMatchMode(SPH_MATCH_ALL);
$s->SetRankingMode(SPH_RANK_SPH04);
$s->SetFieldWeights(array(
"NAME" => 90,
"SEARCHABLE_CONTENT" =>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Puma Thailand, 2015-11-13
@opium

Well, it is logical to filter without after searching in the sphinx on the php side

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question