Closed eklem closed 7 years ago
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 ?
q
Seems to work now?
I'll test. This was something not working in search-index that is fixed now?
search-index
Yes, IIRC I fixed it in search-index
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 ?