Guest User

Query

a guest
Nov 29th, 2013
184
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2. "query" : {
  3. {
  4. "match_all" : {}
  5. }
  6. },
  7. "facets" : {
  8. "places" : {
  9. "geohash" : {
  10. "field" : "location",
  11. "factor" : 0.7
  12. }
  13. }
  14. },
  15. "filter" : {
  16. "geo_bounding_box" : {
  17. "location" : {
  18. "top_left" : {
  19. "lat" : 51.98019019637184,
  20. "lon" : 7.810964249999984
  21. },
  22. "bottom_right" : {
  23. "lat" : 50.331835285937544,
  24. "lon" : 13.084401749999984
  25. }
  26. }
  27. }
  28. }
  29. }
RAW Paste Data