Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- GET some_index/_analyze
- {
- "analyzer": "synonym",
- "text" : "cosmos"
- }
- {
- "tokens": [
- {
- "token": "cosmos",
- "start_offset": 0,
- "end_offset": 6,
- "type": "<ALPHANUM>",
- "position": 0
- },
- {
- "token": "universe",
- "start_offset": 0,
- "end_offset": 6,
- "type": "SYNONYM",
- "position": 0
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement