Advertisement
Guest User

Untitled

a guest
Feb 13th, 2016
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. POST phpsc/post/0
  2. {
  3. "author":"Luiz",
  4. "text":"Tá muito sol para falar de Elasticsearch",
  5. "hashtag":"#queriatánapraia"
  6. }
  7.  
  8. POST phpsc/post
  9. {
  10. "author":"Luiz",
  11. "text":"Esse post não tem ID",
  12. "hashtag":"#seráqfunciona"
  13. }
  14.  
  15. POST phpsc/post/0
  16. {
  17. "author":"Luiz",
  18. "text":"Elasticsearch é mais legal que praia",
  19. "hashtag":"#sqn"
  20. }
  21.  
  22. POST phpsc/post
  23. {
  24. "author":"Luiz",
  25. "text":"O mapeamento do Elasticsearch é flexível",
  26. "local":"Florianópolis",
  27. "hashtag":"#schemaless"
  28. }
  29.  
  30. POST phpsc/comment/1
  31. {
  32. "author":"Anônimo",
  33. "text": "Jurerê ou PHP?",
  34. "hashtag":"#queriatánapraia"
  35. }
  36.  
  37. POST phpsc/comments/1?parent=1
  38. {
  39. "author":"Anônimo",
  40. "text": "Até agora não vi nada de PHP",
  41. "hashtag":"#taenrolando"
  42. }
  43.  
  44. GET phpsc/_mapping
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement