Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
courses:cs397:winter2017:elasticsearch [2017/03/27 17:18] – [Viewing Data] admin | courses:cs397:winter2017:elasticsearch [2017/03/27 17:21] – [Viewing Data] admin | ||
---|---|---|---|
Line 22: | Line 22: | ||
curl –XGET ‘localhost: | curl –XGET ‘localhost: | ||
+ | |||
+ | ==== Filtering Results ==== | ||
+ | |||
+ | Only get results that match certain criteria: | ||
+ | |||
+ | curl -XGET ' | ||
==== Sorting Examples ==== | ==== Sorting Examples ==== | ||
Line 32: | Line 38: | ||
curl -XGET ' | curl -XGET ' | ||
- | { | + | |
- | " | + | " |
- | " | + | " |
- | { " | + | { " |
- | ] | + | ] |
- | }' | + | }' |
+ | |||
+ | ==== Limiting Results ==== | ||
+ | |||
+ | Only give one result back from searching '' | ||
+ | |||
+ | curl -XGET ' | ||
+ | |||
+ | Give back one result, starting at search result 10, from '' | ||
+ | |||
+ | curl -XGET ' | ||
===== Adding Information ===== | ===== Adding Information ===== |