Sphinx error: unknown local index "INDEX_NAME" in search request

Adiasz picture Adiasz · Feb 24, 2010 · Viewed 7.5k times · Source

Im using Sphinx 0.9.9-release (r2117) and sphinxapi.php (http://code.google.com/p/sphinxsearch/source/browse/tags/REL_0_9_9_RC2/api/sphinxapi.php).

When I testing searching in command shell: "search -i INDEX_NAME test" everything is perfect, but when I connect to Sphinx by sphinxapi.php this error occur.

sphinx.conf is configured properly, index created...

Any ideas what can be wrong?

Answer