I
I
Igor Balyas2016-03-25 17:34:52
Sphinx
Igor Balyas, 2016-03-25 17:34:52

How to set up search with wildcard?

I can't set up a search in this format MATCH('@name "city of mo?kva"'), gives the result 0.
what could be the problem?
The documentation says that such a construction should work.
using sphinxsearch 2.2.8
min_word_len = 1
min_prefix_len = 0
min_infix_len = 1
dict = keywords
>> Version 2.1.1-beta introduced extended wildcards support, now special symbols like '?' and '%' are supported along with substring (infix) search (eg "t?st*", "run%", "*abc*"). Note, however, these wildcards work only with dict=keywords, and not elsewhere.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Puma Thailand, 2016-03-25
@opium

Show the logs and the index, and it will be clear there, and I hope your encoding is correct

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question