meriems / sphinxsearch

Automatically exported from code.google.com/p/sphinxsearch
GNU General Public License v2.0
0 stars 0 forks source link

If there are spaces in index list, distributed search not working #24

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
For example, we have index "index". If we pass "index " (with last space) to 
SphinxAPI, it passes it to sphinx as-is.
There seems also to be a bug in sphinx that was EXTREMELY difficult to find.
See code:
https://code.google.com/p/sphinxsearch/source/browse/trunk/src/searchd.cpp?r=251
2#5759
Sphinx thinks the search is multi-index (as there is a space), thus throws an 
error.

Original issue reported on code.google.com by nick4f...@gmail.com on 6 Dec 2013 at 8:41