Could someone explain this behavior? How can I run a query similar to the
last one and only get the records having '2011-05-25' as one of the
attributes?
It seems that your mapping is not correct.Your use case suggests that you
only want search results for a single day: set index:not_analyzed and
type:string for the field "releaseDate" of your mapping, and then use term
query.
-- Tanguy
Le lundi 11 juin 2012 21:11:01 UTC+2, Michael Smolyak a écrit :
Is it possible to query for date values without using a range query or a
field query. I can successfully run
Could someone explain this behavior? How can I run a query similar to the
last one and only get the records having '2011-05-25' as one of the
attributes?
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.