WildcardQuery error in Solr

后端 未结 7 2234
花落未央
花落未央 2021-02-20 16:47

I use solr to search for documents and when trying to search for documents using this query \"id:*\", I get this query parser exception telling that it cannot parse

7条回答
  •  北海茫月
    2021-02-20 17:14

    Actually, I have been using a workaround for this. I append a character to the id, eg: A1, A2, etc.

    With such values in the field, it is possible to search using the query id:A*

    But would love to find whether a true solution exists.

提交回复
热议问题