pferrel / template-scala-parallel-universal-recommendation

39 stars 89 forks source link

Added pagination support #27

Closed zebraf1 closed 7 years ago

zebraf1 commented 7 years ago

Added offset parameter to Query class. Get next page results by increasing offset by any multiplier of num parameter.

Take the offset parameter from Query and use it as from in the Elasticsearch query. @see https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-from-size.html

Updated predict function documentation. Added from parameter to ES json query example and added missing brackets.

pferrel commented 7 years ago

No need to add, pagination is already implemented in v0.6.0

zebraf1 commented 7 years ago

Ok, where can I find the code to see how it was implemented? :)

pferrel commented 7 years ago

it will appear in a 0.6.0 snapshot branch in the next couple days