Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to config elasticsearch for this project on demo #3

Open
SeekPoint opened this issue Nov 13, 2018 · 2 comments
Open

how to config elasticsearch for this project on demo #3

SeekPoint opened this issue Nov 13, 2018 · 2 comments

Comments

@SeekPoint
Copy link

No description provided.

@mickeysjm
Copy link
Owner

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

@SeekPoint
Copy link
Author

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$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants