Using Elasticsearch 1.4.3
I looked through the docs, but I'm definitely not sure. But I believe that integer, long, float, double, etc. Indexed as not_analyzed by Lucene ?? //
thank
From this link , you have this statement:
Other simple types (e.g., long, double, dateetc.) also take the index parameter, but only the corresponding values are no, and not_analyzedsince their values are never analyzed.
long
double
date
no
not_analyzed
, ( long, double, date ..) .
"index": "not_analyzed" :
"index": "not_analyzed"
... "mappings": { "properties": { "price": { "type": "long", "index": "not_analyzed" } } } ...
:
... "mappings": { "properties": { "price": { "type": "long", "index": "no" } } } ...
.