Minor bug for the /totalHits and the /search endpoint ?
eklem opened this issue · comments
Espen Klem commented
This works:
http://oppskrift.klemespen.com:3030/totalHits?q={"query":{"AND":{"*":["eple"]}}}
And this doesn't (gives you back all documents):
http://oppskrift.klemespen.com:3030/totalHits?q=[{"query":{"AND":{"*":["eple"]}}}]
Not sure why q
should be able to be an array and not just an object? Same for /search ?
Fergus McDowall commented
Seems to work now?
Espen Klem commented
I'll test. This was something not working in search-index
that is fixed now?
Fergus McDowall commented
Yes, IIRC I fixed it in search-index