Closed (fixed)
Project:
Sphinx Search
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 Oct 2008 at 17:45 UTC
Updated:
11 Oct 2008 at 17:50 UTC
I understood, perhaps incorrectly, that sphinx search engine unlike drupal seearch has google like capabilies, i.e. it would search for plurals by itself. In other words, if I search for “motorcycle” it should find matches of motorcycles in addition to motorcycle. It doesn’t seem to do that. How can I make it search plurals?
The search can be found at www.pico-car.com/search-content
Comments
Comment #1
markus_petrux commentedThis is more a question related to Sphinx engine and its features. Please, review the options of your sphinx.conf file.
http://www.sphinxsearch.com/doc.html#confgroup-index
There are several options that allow you to setup how text data will be indexed. You may wish to try using the morphology option to enable stemming. But you may also wish to tweak a few other options such as min_word_len, charset_tables, etc.
When changing the sphinx.conf file, it is often required to restart the searchd daemon, and it is also probably required to rebuild all indexes.
Comment #2
VinayKAgarwal commentedYes, I had to enable "morphology = stem_en" in the configuration file. It works now. :-)
Comment #3
markus_petrux commented:-)
Comment #4
markus_petrux commented