Can anybody explain what is the different between term and string in elasticsearch context?
When we index using default mapping (http://www.elastic.co/guide/en/elasticsearch/reference/current/indices-put-mapping.html), the default type is string. But when we query, we use the word term (http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-term-query.html) instead of string? I google lucene documentation, the term is define as A query is broken up into terms and operators. There are two types of terms: Single Terms and Phrases. A Single Term is a single word such as "test" or "hello". A Phrase is a group of words surrounded by double quotes such as "hello dolly". but it has no mentioned on string. https://lucene.apache.org/core/4_10_3/queryparser/org/apache/lucene/queryparser/classic/package-summary.html#package_description Thank you. Jason -- 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/df898132-f7f8-4476-8a81-21e3891dfb1a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.