Answer the question
In order to leave comments, you need to log in
Why does Sphinx show 'unknown local index' error?
source tasks : common
{
sql_query = \
SELECT \
t.tasks_id, \
t.tasks_id AS task_id, \
t.message AS message \
FROM \
tasks AS t \
sql_field_string = task_id
sql_field_string = message
}
$sphinx->Query('добро', 'message');
Answer the question
In order to leave comments, you need to log in
sql_field creates both field and index
$sphinx->Query('good', 'message');
source is where and how to index the index. And still it is necessary to define an index.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question