Sphinx: limit issue using REGEXP (or rules)


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
6 views
The question arose - is it possible to limit the results using the regular season?
Example- "some ugly string TTX600MXP" or "Another string 700PX" or "Another string YYY2000".
Searched for "600". If I'm looking for in the mode "all equal on the right and the left" *600* get the results: 1600, 6001, ... and somewhere on the bottom what you need.
Is there a possibility on the side of the sphinx to look for [A-zА]600[A-zА] and issue "TTX600", "600W", "RPM600GHY". Ie the records in which the left or right of the numbers have the letters.

PS: the Documentation I read, but there is this question somehow not lit. English forums like suggest this software to solve, but when the results of a couple of thousand results, it's expensive.
by | 6 views

2 Answers

0 like 0 dislike
The problem was solved by adding an extra column to the table on which the index is built.
In this column I write down all of the additional combinations.
by
0 like 0 dislike
No, the Sphinx can't use regular expressions.
\r
Is there a language of search queries sphinxsearch.com/docs/current.html#boolean-syntax but the regular season cannot be used
by

Related questions

0 like 0 dislike
2 answers
asked May 21, 2019 by alex_maldinsky
0 like 0 dislike
3 answers
asked Apr 11, 2019 by kovalenko_jul_s
0 like 0 dislike
4 answers
asked Mar 20, 2019 by DeusModus
0 like 0 dislike
1 answer
110,608 questions
257,186 answers
0 comments
28,015 users