Reputation: 1210
Similar Stack Overflow Question
I want users to be able to search through my thinking_sphinx text box a word like wood and have it pull up Wooden and Woodworking. This words fine if the user types in wood*, but if they type in just wood with no * then no results are shown. If there a way to get the results of wood* without having to type in the asterisk. Most users aren't that smart.
Upvotes: 1
Views: 672
Reputation: 8348
I think you could get what you're trying to achieve with wordforms in your sphinx configuration. See the documentation here: http://sphinxsearch.com/docs/current.html#conf-wordforms.
You can utilize more advanced Sphinx configuration with a sphinx.yml
file. See the following: http://freelancing-god.github.com/ts/en/advanced_config.html
Upvotes: 1
Reputation: 14185
can you append an asterisk at the end of user data before sending it to search?
Upvotes: 2