M
M
Michael2020-08-17 18:36:49
Sphinx
Michael, 2020-08-17 18:36:49

Doesn't want to work with the same alias?

Greetings.
Got a project with Sphinx 2.2.9-id64-release.
I see that the yii framework generates such queries for me: , but they don’t want to work, the error is Syntax error or access violation: 1064 sphinxql: syntax error, unexpected for query like the other you change: , then there is no error. In the modern 3rd version of the sphinx, I did not notice such a problem. Who knows, this is purely a bug of that old version?
select `id` as `id` from `indexname`
select `id` as `id2` from `indexname`

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Puma Thailand, 2020-08-17
@opium

The sphinx uses a match and not a like, and your request is apparently not complete

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question