Hello everyone - I have been researching on what would be the best way to
store numbers (say amount) and dates in index? My understanding is that the
number and date fields do not really get analyzed.
Hence one way probably to do this is use multi-field, store numbers/dates
as string and then use right analyzers. Anything else anyone has to
recommend?
Hello everyone - I have been researching on what would be the best way to store numbers (say amount) and dates in index? My understanding is that the number and date fields do not really get analyzed.
Hence one way probably to do this is use multi-field, store numbers/dates as string and then use right analyzers. Anything else anyone has to recommend?
David - Thanks for the quick reply. Let me take an example:
Lets say I am storing 500 as a numerical value. I would expect an input of
500.0 to match what I have. How can I accomplish this?
-Amit.
On Sun, Dec 15, 2013 at 11:03 PM, David Pilato david@pilato.fr wrote:
What do you want to do?
I'd say use date type for types and any type number for numbers.
I don't understand why you would have something else.
--
David
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
Hello everyone - I have been researching on what would be the best way to
store numbers (say amount) and dates in index? My understanding is that the
number and date fields do not really get analyzed.
Hence one way probably to do this is use multi-field, store numbers/dates
as string and then use right analyzers. Anything else anyone has to
recommend?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.