You misunderstood.
Create a gist : gist.github.com
Create a Shell script with curl commands:
Delete index
Create index
Create doc1
Create doc2
Refresh type1,type2
Search
This way, I can download the test case and run it on my side.
You misunderstood.
Create a gist : gist.github.com
Create a Shell script with curl commands:
Delete index
Create index
Create doc1
Create doc2
Refresh type1,type2
Search
This way, I can download the test case and run it on my side.
You misunderstood.
Create a gist : gist.github.com
Create a Shell script with curl commands:
Delete index
Create index
Create doc1
Create doc2
Refresh type1,type2
Search
This way, I can download the test case and run it on my side.
Problem was that in Building type, street1 is under address
(address.street1)
In Unit type, street1 is under building.address. (building.address.street1)
In the gist I sent, I just added a building level on Building type and it
works.
I cannot say if its an issue or not.
I suppose that Elasticsearch find a first document that match on
building.address.street1 level and try to find if other documents match on
this field but with no success.
I think it's a issue, the nested objects have its own architecture,
actuelly I can not add building to type building, because it's already
under Building. We have 3 Tables Unit, Building, and Address, Unit contents
Building, Building contains Address, we want search with address and get
two lists: building and unit.
but anyway, thank you for your support, if the problem can be fixed, please
notice me, thank you.
Problem was that in Building type, street1 is under address
(address.street1)****
In Unit type, street1 is under building.address. (building.address.street1)
In the gist I sent, I just added a building level on Building type and it
works.****
I cannot say if it’s an issue or not.****
I suppose that Elasticsearch find a first document that match on
building.address.street1 level and try to find if other documents match on
this field but with no success.****
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.