Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@tamara-m
Created January 15, 2020 18:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tamara-m/e4903308081a6eae8994d3d5a591ab86 to your computer and use it in GitHub Desktop.
Save tamara-m/e4903308081a6eae8994d3d5a591ab86 to your computer and use it in GitHub Desktop.
array (
'took' => 3,
'timed_out' => false,
'_shards' =>
array (
'total' => 5,
'successful' => 5,
'skipped' => 0,
'failed' => 0,
),
'hits' =>
array (
'total' => 8,
'max_score' => 1881.212,
'hits' =>
array (
0 =>
array (
'_index' => 'myindexname',
'_type' => 'post',
'_id' => '225',
'_score' => 1881.212,
'_source' =>
array (
'post_title' => 'My post title',
'post_id' => 225,
'permalink' => 'https://mydomain.com/bla',
),
),
.... etc
)
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment