我使用Solr搜索文档,当尝试使用此查询"id:*
"搜索文档时,我会收到查询解析器异常,告诉我它无法解析以*或?作为第一个字符的查询。
HTTP Status 400 - org.apache.lucene.queryParser.ParseException: Cannot parse 'id:*': '*' or '?' not allowed as first character in WildcardQuery
type Status report
message org.apache.lucene.queryParser.ParseException: Cannot parse 'id:*': '*' or '?' not allowed as first character in WildcardQuery
description The request sent by the client was syntactically incorrect (org.apache.lucene.queryParser.ParseException: Cannot parse 'id:*': '*' or '?' not allowed as first character in WildcardQuery).
有没有针对只使用 * 就能使其运行的补丁?或者这样的查询非常昂贵吗?