mirror of https://github.com/apache/lucene.git
rollback stupid commit
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@660912 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4e12eb0aff
commit
77a62dd344
|
@ -19,14 +19,11 @@ package org.apache.solr.search;
|
|||
import org.apache.lucene.queryParser.ParseException;
|
||||
import org.apache.lucene.search.Query;
|
||||
import org.apache.lucene.search.Sort;
|
||||
import org.apache.lucene.analysis.Token;
|
||||
import org.apache.solr.common.params.CommonParams;
|
||||
import org.apache.solr.common.params.SolrParams;
|
||||
import org.apache.solr.common.util.NamedList;
|
||||
import org.apache.solr.request.SolrQueryRequest;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
public abstract class QParser {
|
||||
String qstr;
|
||||
SolrParams params;
|
||||
|
@ -85,7 +82,6 @@ public abstract class QParser {
|
|||
return query;
|
||||
}
|
||||
|
||||
|
||||
private void checkRecurse() throws ParseException {
|
||||
if (recurseCount++ >= 100) {
|
||||
throw new ParseException("Infinite Recursion detected parsing query '" + qstr + "'");
|
||||
|
|
Loading…
Reference in New Issue