Answer the question
In order to leave comments, you need to log in
Sphinx how to fix a request?
Look, the sphinx has a word form parameter. There type we define as to index words. An example for my store:
usb drive > cooler flash drive
> cooler
CPU fan > cooler
With this, everything is clear. Ie we redefine all these phrases as it is necessary to index. Ie now I can find everything on request flash drive or cooler.
But here's what I ran into.
I need a person to be able to find flash drives
16-128gb
But in the search he can enter in different ways and 16 gb and 16 gb and 16 gb
How can I redefine the incoming request? I so understood only means php?
Are there also word forms for search phrases?
Or how to make the sphinx understand the volume of drives? Tk in the name can be both gb and gb and merged with a number or separated by a space.
It turns out I need to ask a bunch of word forms ... 4-128GB and more for the railway! And also for the operation! They can also search in Russian or English ... (I'm talking about gb and gb, tb)
I hope the question is clear)
Answer the question
In order to leave comments, you need to log in
but why the heck
set the word forms in the same place
as far as I remember if you set the word forms that 16gb = 16gb
then in the search it will find both
too lazy to honestly check but I think you have enough time for this.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question