Sphinx query/settings similar to Like '%string%' SQL query -


i want search string in sphinx , documents contains string

example: search "bot" , documents contain "xbot", "robot", "botanic", etc

basically want search have same effects running

select * table column_name '%bot%'

how can that?

note: tried use min_infix_len seems extends search little bit not fully. if set conf-min-prefix-len = 2 match 'xbot' not "botanic"

try using wildcard in extended query syntax , min_infix_len enabled

select * myindex match("bot | bot* | *bot*")


Comments

Popular posts from this blog

android - Gradle sync Error:Configuration with name 'default' not found -

java - Andrioid studio start fail: Fatal error initializing 'null' -

html - jQuery UI Sortable - Remove placeholder after item is dropped -