What I encountered in elasticsearch

Source: Internet
Author: User

Installation is okay. In Windows, install the Java environment, download the elastic installation package, and install the elastic-head plug-in chorm.

1. php call Curl_setopt_array (): Unable to create temporary file

At first, I thought it was a yii framework issue, and then I didn't use the framework test.

It turns out that PHP has no write permission on temporary files and directly changes PHP. INI file, find sys_temp_dir = '. /tmp ', remove the semicolon; comment; I am E: \ phpstudy \ TMP;

Reference: https://www.jianshu.com/p/8f2b23db9006

2. Data insertion Error

At the beginning, I saw this error very similar, but I checked it carefully because the data type is different from the input value. When I create an index, the defined type is integer, and the data inserted in the result is string, resulting in an error.

What I encountered in elasticsearch

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.