We have a wikibase installation with several thousand items.
I have checked that CirrusSearch and WikibaseCirrusSearch are both enabled and that $wgWBCSUseCirrus = true; is set.
While inlabel: works fine for me, haswbstatement: doesn't give me any results. Not even using haswbstatement:*.
I checked the elasticsearch query using cirrusDumpQuery and I can see that it gets created properly, yet this does not return anything.
"should": [{ "match": { "statement_keywords.property": { "query": "P1" } } } ]
Furthermore, I have found that these work:
hasdescription:frhaslabel:frinlabel:Metz
And these do not:
haswbstatement:*wbstatementquantity:P1=Q17<2
I suppose the next step would be checking the configuration of my elasticsearch index. Any advice on what to look for?