WildcardQuery error in Solr

后端 未结 7 2236
花落未央
花落未央 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 *]

    0 讨论(0)
提交回复
热议问题