Skip to content

Instantly share code, notes, and snippets.

@PureKrome
Created October 21, 2021 07:03
Show Gist options
  • Save PureKrome/e970b5fdf99c82706f12b0fcf72fa9fc to your computer and use it in GitHub Desktop.
Save PureKrome/e970b5fdf99c82706f12b0fcf72fa9fc to your computer and use it in GitHub Desktop.
Trying to use Elasticsearch
-- Get a list of all indicies
GET /_cat/indices
--
GET /_cat/aliases <-- get the aliases to the indicies
-- normal searching
GET /listings/_search
{
"query": {
"match_all": {}
}
}
-------------------
-- for-rent/doncaster-vic-3108/houses/{#}-bedroom(s)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment