/docsearch

Search through any documentation across your organisation

Primary LanguagePython

Docsearch

Install ES using docker

docker pull docker.elastic.co/elasticsearch/elasticsearch:7.2.0

Launch ES using docker

docker run -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:7.2.0

ES

Get indices

 curl -X GET 'localhost:9200/_cat/indices?v'

List documents

curl -XPOST -H 'Content-Type: application/json' 'localhost:9200/documentation/_search?pretty'