SetRank icon indicating copy to clipboard operation
SetRank copied to clipboard

how to config elasticsearch for this project on demo

Open SeekPoint opened this issue 6 years ago • 2 comments

SeekPoint avatar Nov 13 '18 06:11 SeekPoint

The default Elasticsearch 5.4.0 configuration should suffice. One thing is to enable the script scoring function by adding following two lines in the config/elasticsearch.yml file

script.inline: on script.indexed: on

mickeysjm avatar Nov 16 '18 19:11 mickeysjm

where or how , any details

I can not fine config on my installation

ub16hp@UB16HP:~/ub16_prj/SetRank$ sudo pip3.5 install Elasticsearch The directory '/home/ub16hp/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. The directory '/home/ub16hp/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. Requirement already satisfied: Elasticsearch in /usr/local/lib/python3.5/dist-packages (5.4.0) Requirement already satisfied: urllib3<2.0,>=1.8 in /usr/local/lib/python3.5/dist-packages (from Elasticsearch) (1.22) ub16hp@UB16HP:~/ub16_prj/SetRank$

ub16hp@UB16HP:~/ub16_prj/SetRank$ find /usr/local/lib/python3.5/dist-packages/ -name elasticsearch.yml
ub16hp@UB16HP:~/ub16_prj/SetRank$

SeekPoint avatar Nov 17 '18 02:11 SeekPoint