Why elasticsearch is allowing to load a null document (means empty _source)?
{
"_index" : "null_index",
"_type" : "_doc",
"_id" : "1",
"_score" : 1.0,
"_source" : { }
}
Why elasticsearch is allowing to load a null document (means empty _source)?
{
"_index" : "null_index",
"_type" : "_doc",
"_id" : "1",
"_score" : 1.0,
"_source" : { }
}
It is returning, what has been indexed previously, there are no sanity checks for this. It also means, there will be no real way to query for this document.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
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.