-
Notifications
You must be signed in to change notification settings - Fork 196
Setting up search
brew install elasticsearch
Are needed for indexing and debugging.
sudo /usr/local/opt/elasticsearch/bin/plugin -install WHATEVER PLUGIN YOU NEED
Example
sudo /usr/local/opt/elasticsearch/bin/plugin -install mobz/elasticsearch-head
To run: Open in browser http://localhost:9200/_plugin/head/
If you’ve installed the .deb package, then the plugin exectuable will be available at /usr/share/elasticsearch/bin/plugin.
Plugins needed:
mobz/elasticsearch-head
- web portal, open http://localhost:9200/_plugin/head/
elasticsearch/elasticsearch-analysis-icu
- for indexing
lukas-vlcek/bigdesk
- shows graphs
karmi/elasticsearch-paramedic
- I don't know.
To run elasticsearch, in bash paste: Note: If you brew installed, this is done automatically
elasticsearch --config=/usr/local/opt/elasticsearch/config/elasticsearch.yml
or
elasticsearch
You need to have the prober files in place for elasticsearch's arabic indexing. Run task:
rake elasticsearch:setup_files
which will copy the files from your config for elasticsearch and only your elasticsearch local directory.
Run: rake elasticsearch:setup_indices
To delete: rake elasticsearch:delete_indices
To setup individual, go into rails console and run it for that model Content::Translation.setup_index
http://localhost:9200/_cat/indices?v
* Delete the index
* http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-delete-index.html
In browser: http://localhost:9200/quran/_mapping
I got a Groovy error
Follow this:
https://discuss.elastic.co/t/scripts-of-type-inline-operation-aggs-and-lang-groovy-are-disabled/2493
Simpy add script.engine.groovy.inline.aggs: on
to your elasticsearch.yml