You'll likely need that field to be unanalyzed (i.e. tell ES not to cut it 
up in the index). One way is to predefine that field in your mapping as:

"user": {
"type": "string",
"index": "not_analyzed"
}

More details here:

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-core-types.html

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/805a1632-7e84-416f-8d7a-d5b9f327b8aa%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to