WildcardQuery error in Solr

后端 未结 7 2115
花落未央
花落未央 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:31

    If you want all documents, do a query on *:*

    If you want all documents with a certain field (e.g. id) try id:[* TO *]

提交回复
热议问题