Closed that1guy closed 8 years ago
To solve this, I reworked the Elasticsearch index a bit and added location details. 3taps location information is now mapped directly to the posting.location sub-document.
The updated query should now look like the following: https://staging-posting-api.hashtagsell.com/v1/postings/?start=0&count=50&filters[mandatory][exact][location.state]=USA-CA
Assigning back to @that1guy to verify and make adjustments in the hts-app. :smile_cat:
boom! Looking good! Closing. :)
Query
Hi josh, this query intermittently returns no results, then it may return 5 results, and other times more results. Either way it seems to never return 50 results as requested in the count property.
Also, it seems I don't need to supply a sort to get most recent items. They are already returned by neweset to oldest?