You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i try to fulltext searching with unicode keyword
from sphinxit.core.processor import Search
search_query = Search(**myconfig)
search_query = search.match(u'молоко')
search_query.ask() # returns empty result items, but in fact there are exists
Solution is:
lex = search_query.lex().encode('utf8')
It can be used in Search->ask() for example
Also Search class could be inherited like this
class UnicodeSearch(Search):
def lex(self):
return super(UnicodeSearch, self).lex().encode('utf8')
The text was updated successfully, but these errors were encountered:
When i try to fulltext searching with unicode keyword
Solution is:
Also Search class could be inherited like this
The text was updated successfully, but these errors were encountered: