Skip to content
This repository has been archived by the owner on May 4, 2019. It is now read-only.

findAll in ElasticaProxyRepository #6

Open
vgross opened this issue Nov 26, 2013 · 1 comment
Open

findAll in ElasticaProxyRepository #6

vgross opened this issue Nov 26, 2013 · 1 comment

Comments

@vgross
Copy link
Contributor

vgross commented Nov 26, 2013

I have an issue when I want to list one of my entities containing 2 fields boolean in the mapping.

It seems the method findAll that consider my booleans like a $param and the query called is "new QueryBool()", the debug bar show the following things:

Path: website/transaction/_search
Method: GET
{"query":{"bool":[]},"from":null,"sort":{"date_time.raw":{"order":"desc"}},"size":10000}
Time: 42.93 ms
Path: website/transaction/_search
Method: GET
{"query":{"bool":[]},"from":null,"sort":{"date_time.raw":{"order":"desc"}},"size":10000}
Time: 2.51 ms

and it returns nothing.

If I "var_dump" the parameter $param in the findAll method, I can see my 2 booleans.

I have an other entity mapped with 1 boolean and it works fine.

@PopDaph
Copy link
Contributor

PopDaph commented Jan 8, 2015

Sorry to have left this issue unresolved.
Is it still relevant?
If so, can you give me more details, like the definition of your mapping for ElasticSearch and everything that can help me reproduce the bug easily, so I can try to fix it ? Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants