Then I tried with the query bellow, but it still returns the type1
documents with all the type1.obj1 documents inside and not only obj1
documents: #curl -XGET http://localhost:9200/giftsplusindex/type1/_search?pretty=true
-d '
{
"query": {
"nested": {
"path": "obj1",
"query": {
"match_all" : { }
}
}
},
"size": 10,
"from": 0
}'
I suppose this will work with "parent/child" but in this case I can
not make facets on the child I think?
Then I tried with the query bellow, but it still returns the type1
documents with all the type1.obj1 documents inside and not only obj1
documents: #curl -XGET http://localhost:9200/giftsplusindex/type1/_search?pretty=true
-d '
{
"query": {
"nested": {
"path": "obj1",
"query": {
"match_all" : { }
}
}
},
"size": 10,
"from": 0
}'
I suppose this will work with "parent/child" but in this case I can
not make facets on the child I think?
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.