The null and empty string will qualify as missing (since they produced no terms). Not sure about the undefined since it depends on the client lib and what json it produces.
On Friday, June 10, 2011 at 6:47 PM, James Cook wrote:
How will the "missing" filter be applied in the following cases:
The null and empty string will qualify as missing (since they produced no terms). Not sure about the undefined since it depends on the client lib and what json it produces.
On Friday, June 10, 2011 at 6:47 PM, James Cook wrote:
How will the "missing" filter be applied in the following cases:
There isn't a way to check for an empty string value. You can knindda hack it, by providing null-value in the mappings, and then, use that null-value to check for cases where the field is explicitly set to null, and missing when the field has an empty string or missing completely. For string fields, we can add an enhancement to support empty-value mapping (different than null-value).
On Monday, June 13, 2011 at 2:59 AM, James Cook wrote:
So, the follow up would be to inquire whether there is any way to query for an empty string value?
The null and empty string will qualify as missing (since they produced no terms). Not sure about the undefined since it depends on the client lib and what json it produces.
On Friday, June 10, 2011 at 6:47 PM, James Cook wrote:
How will the "missing" filter be applied in the following cases:
There isn't a way to check for an empty string value. You can knindda
hack it, by providing null-value in the mappings, and then, use that
null-value to check for cases where the field is explicitly set to null, and
missing when the field has an empty string or missing completely. For string
fields, we can add an enhancement to support empty-value mapping (different
than null-value).
On Monday, June 13, 2011 at 2:59 AM, James Cook wrote:
So, the follow up would be to inquire whether there is any way to query for
an empty string value?
The null and empty string will qualify as missing (since they produced no
terms). Not sure about the undefined since it depends on the client lib and
what json it produces.
On Friday, June 10, 2011 at 6:47 PM, James Cook wrote:
How will the "missing" filter be applied in the following cases:
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.