SHARE
TWEET

Untitled

a guest May 22nd, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. GET some_index/_analyze
  2. {
  3.   "analyzer": "synonym",
  4.   "text" : "cosmos"
  5. }
  6.  
  7.  
  8. {
  9.   "tokens": [
  10.     {
  11.       "token": "cosmos",
  12.       "start_offset": 0,
  13.       "end_offset": 6,
  14.       "type": "<ALPHANUM>",
  15.       "position": 0
  16.     },
  17.     {
  18.       "token": "universe",
  19.       "start_offset": 0,
  20.       "end_offset": 6,
  21.       "type": "SYNONYM",
  22.       "position": 0
  23.     }
  24.   ]
  25. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top