Environment: ubuntu14.04php5.5, mysql5.6 search term: Chinese users do not know why sphsf-phpapi cannot find data, but there are also hits attributes and corresponding fields, which should indicate that the data is matched, but there is no data. Why? However, it is normal to search through the command line...
Environment: ubuntu14.04 php5.5, mysql5.6
Search term: Made in China
I don't know why sphinx's PHP API cannot find data, but there are also hits attributes and corresponding fields. It should indicate that the data matches, but the data does not exist. Why?
But the command line search can be found normally. Why ???
This is the PHP code.
Search for confusion
It is not convenient because it is developed on a virtual machine.
Reply content:
Environment: ubuntu14.04 php5.5, mysql5.6
Search term: Made in China
I don't know why sphinx's PHP API cannot find data, but there are also hits attributes and corresponding fields. It should indicate that the data matches, but the data does not exist. Why?
But the command line search can be found normally. Why ???
This is the PHP code.
Search for confusion
It is not convenient because it is developed on a virtual machine.
It indicates that there is a problem with the api. One problem I encountered before is that the api version is inconsistent with the sphsf-version, which leads to an error and is for reference only.
Close the post.
This is a version issue.
Pecl's sphinx expansion should never be installed with more than 1.3, blood lessons