This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<response><lst name="responseHeader"><int name="status">500</int><int name="QTime">3</int><lst name="params"><str name="indent">true</str><str name="q">{!lastLoginParser}*:*</str><str name="wt">xml</str></lst></lst><lst name="error"><str name="msg">Query {!cache=false cost=100} does not implement createWeight</str><str name="trace">java.lang.UnsupportedOperationException: Query {!cache=false cost=100} does not implement createWeight | |
at org.apache.lucene.search.Query.createWeight(Query.java:80) | |
at org.apache.lucene.search.IndexSearcher.createNormalizedWeight(IndexSearcher.java:664) | |
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:297) | |
at org.apache.solr.search.SolrIndexSearcher.getDocListNC(SolrIndexSearcher.java:1491) | |
at org.apache.solr.search.SolrIndexSearcher.getDocListC(SolrIndexSearcher.java:1366) | |
at org.apache.solr.search.SolrIndexSearcher.search(SolrIndexSearcher.java:457) | |
at org.apache.solr.handler.component.QueryComponent.process(QueryComponent.java:410) | |
at org.apache.solr.h |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.apache.lucene.search.Query; | |
import org.apache.solr.common.params.SolrParams; | |
import org.apache.solr.common.util.NamedList; | |
import org.apache.solr.request.SolrQueryRequest; | |
import org.apache.solr.search.QParser; | |
import org.apache.solr.search.QParserPlugin; | |
import org.apache.solr.search.SyntaxError; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |