Created
January 4, 2011 20:07
-
-
Save anonymous/765327 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Data from ES /images/image/1: | |
{"_index":"images","_type":"image","_id":"1", "_source" : {"tags":["beach","high fashion","beauty"]}} | |
// Getting _mapping | |
{"images": | |
{"image": | |
{"properties": | |
{"tags":{ | |
"omit_term_freq_and_positions":true, | |
"index":"not_analyzed", | |
"omit_norms":true, | |
"store":"yes", | |
"type":"string"} | |
}}}} | |
// Terms facet returned: | |
beach, high, fashion, beauty ("high fashion" is still being split into two separate terms). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment