Linux-sphinx Phpapi can't find the data, but at the command Line (CLI), yes, why?

Source: Internet
Author: User

Environment: ubuntu14.04 php5.5,mysql5.6

Search Term: Homemade
Do not know why Sphinx Phpapi can not find the data, but there are hits properties and corresponding fields appear, should represent the data match to, but the data is not, why?

But in the command line search can be found normally, this is why???

This is the PHP code.

Ask for doubts
Because it is in the virtual machine development, so inconvenient, God help to see it

Reply content:

Environment: ubuntu14.04 php5.5,mysql5.6

Search Term: Homemade
Do not know why Sphinx Phpapi can not find the data, but there are hits properties and corresponding fields appear, should represent the data match to, but the data is not, why?

But in the command line search can be found normally, this is why???

This is the PHP code.

Ask for doubts
Because it is in the virtual machine development, so inconvenient, God help to see it

That indicates the API has a problem ah, I have encountered a problem is the version of the API and Sphinx version inconsistent, resulting in an error, for reference only.

Knot stickers.
This issue occurs because of a version issue.
PECL's Sphinx expand Don't pack 1.3 0 or more, the blood of the lesson

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.