I read this doc to understand 'search_after' and have two question.
- I'm curious that where "tweet#654323" comes from. Is this one of document id or field data?
When I added multiple parameter of search_after, Is that 'and' condition or 'or' condition?
ex) "search_after": [1463538857, 5147821]
As mentioned in that doc,
"tweet#654323"
is the_uid
value of the document, which is made up of the_type
and the_id
of the document.You need as many values in
search_after
as you havesort
clauses and those values must be ordered the same way as in your sort clause. In"search_after": [1463538857, 5147821]
, it looks like you're sorting by a date field and some other id field.