Re: ElasticSearch queries always return all the datas stored in the index

2014-06-20 Thread Cédric Hourcade
>>> } >>>> >>>> and I run the query described above, I have both of the two 'carte' >>>> >>>> Is it "normal" ? >>>> Do you have an example or a link to illustrate the parent/child feature >>>> ? &g

Re: ElasticSearch queries always return all the datas stored in the index

2014-06-20 Thread Alexandre Touret
t; >>> Is it "normal" ? >>> Do you have an example or a link to illustrate the parent/child feature ? >>> >>> >>> Thanks >>> >>> >>> >>> Le vendredi 20 juin 2014 11:12:04 UTC+2, David Pilato a écrit : &g

Re: ElasticSearch queries always return all the datas stored in the index

2014-06-20 Thread David Pilato
No. GET works for running searches. It could be an issue if you are using an OLD SENSE version and not Marvel. --  David Pilato | Technical Advocate | Elasticsearch.com @dadoonet | @elasticsearchfr Le 20 juin 2014 à 11:28:23, Cédric Hourcade (c...@wal.fr) a écrit: It looks like you are doing a

Re: ElasticSearch queries always return all the datas stored in the index

2014-06-20 Thread Alexandre Touret
> >>> >>> >>> Le vendredi 20 juin 2014 11:12:04 UTC+2, David Pilato a écrit : >>>> >>>> Hey Alexandre, >>>> >>>> >>>> This is correct. You are searching for a carte which contains an >>>> ad

Re: ElasticSearch queries always return all the datas stored in the index

2014-06-20 Thread Cédric Hourcade
andre, >>> >>> >>> This is correct. You are searching for a carte which contains an >>> adherent. >>> Elasticsearch gives you a carte object as an answer. And elasticsearch >>> gives you back exactly what you have indexed. >>> >>&g

Re: ElasticSearch queries always return all the datas stored in the index

2014-06-20 Thread Alexandre Touret
rch gives you a carte object as an answer. And elasticsearch >> gives you back exactly what you have indexed. >> >> That being said, I think you could look at parent/child feature for that >> use case. >> Or you can have one carte object per adherent? >> >&

Re: ElasticSearch queries always return all the datas stored in the index

2014-06-20 Thread David Pilato
Searching for DOE gives you that answer?  If so, it's not normal IMHO. You should try to reproduce it with a full SENSE script recreation so we can replay it and help you from here. See http://www.elasticsearch.org/help/ for information. About parent child, you could read this:  http://www.elast

Re: ElasticSearch queries always return all the datas stored in the index

2014-06-20 Thread Alexandre Touret
ook at parent/child feature for that > use case. > Or you can have one carte object per adherent? > > Makes sense? > > -- > *David Pilato* | *Technical Advocate* | *Elasticsearch.com* > @dadoonet <https://twitter.com/dadoonet> | @elasticsearchfr > <https://t

Re: ElasticSearch queries always return all the datas stored in the index

2014-06-20 Thread David Pilato
Hey Alexandre, This is correct. You are searching for a carte which contains an adherent. Elasticsearch gives you a carte object as an answer. And elasticsearch gives you back exactly what you have indexed. That being said, I think you could look at parent/child feature for that use case. Or y

ElasticSearch queries always return all the datas stored in the index

2014-06-20 Thread Alexandre Touret
hello, <https://stackoverflow.com/questions/24323480/elasticsearch-queries-always-return-all-the-datas-stored-in-the-index#> I'm trying to index and query an index store in ES 1.2. I both create and populate the index with the JAVA API using the transportclient api. I have th