evan / ultrasphinx

Ruby on Rails configurator and client to the Sphinx full text search engine
http://blog.evanweaver.com/files/doc/fauna/ultrasphinx/
Academic Free License v3.0
170 stars 36 forks source link

partial word searches? #1

Open pjammer opened 15 years ago

pjammer commented 15 years ago

hi.

i've set in default.base

enable_star = 1 
min_prefix_len = 4

then i re-ran rake ultrasphinx:configure, restarted the daemon and even reindexed all using rake.

all that to say, i can see in my autogenerated development.conf file the settings are there, but when i use my search form in my view and controller, partial words don't appear.

i expected to be able to search the word "CORN" and come up with "CORNHUSKER", "CORNHOLD" etc... only none of these show up. All that works is whole word searching. How am i screwing this up? thanks.

pjammer commented 15 years ago

Well as an update, i got the wildcard search to work. i swore i restarted the server, but c'est la vie. however partial words don't return anything without the star.. shouldn't it?