/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/standard/config/ |
H A D | DefaultOperatorAttribute.java | 35 public static enum Operator { enum in interface:DefaultOperatorAttribute 39 public void setOperator(Operator operator); 40 public Operator getOperator();
|
H A D | DefaultOperatorAttributeImpl.java | 52 public void setOperator(Operator operator) { 58 org.apache.lucene.queryParser.standard.config.StandardQueryConfigHandler.Operator newOperator; 60 if (operator == Operator.AND) { 61 newOperator = org.apache.lucene.queryParser.standard.config.StandardQueryConfigHandler.Operator.AND; 63 newOperator = org.apache.lucene.queryParser.standard.config.StandardQueryConfigHandler.Operator.OR; 70 public Operator getOperator() { 71 org.apache.lucene.queryParser.standard.config.StandardQueryConfigHandler.Operator newOperator = config.get(ConfigurationKeys.DEFAULT_OPERATOR, org.apache.lucene.queryParser.standard.config.StandardQueryConfigHandler.Operator.OR); 72 Operator oldOperator; 74 if (newOperator == org.apache.lucene.queryParser.standard.config.StandardQueryConfigHandler.Operator [all...] |
H A D | StandardQueryConfigHandler.java | 89 * @see StandardQueryParser#setDefaultOperator(org.apache.lucene.queryParser.standard.config.StandardQueryConfigHandler.Operator) 92 final public static ConfigurationKey<Operator> DEFAULT_OPERATOR = ConfigurationKey 212 public static enum Operator { enum in class:StandardQueryConfigHandler 227 // set(ConfigurationKeys.DEFAULT_OPERATOR, Operator.OR);
|
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/standard/ |
H A D | QueryParserWrapper.java | 66 static public enum Operator { OR, AND } enum in class:QueryParserWrapper 69 /** Alternative form of QueryParser.Operator.AND */ 70 public static final Operator AND_OPERATOR = Operator.AND; 72 /** Alternative form of QueryParser.Operator.OR */ 73 public static final Operator OR_OPERATOR = Operator.OR; 335 public void setDefaultOperator(Operator op) { 338 .setDefaultOperator(OR_OPERATOR.equals(op) ? org.apache.lucene.queryParser.standard.config.DefaultOperatorAttribute.Operator.OR 339 : org.apache.lucene.queryParser.standard.config.DefaultOperatorAttribute.Operator [all...] |
H A D | StandardQueryParser.java | 49 import org.apache.lucene.queryParser.standard.config.StandardQueryConfigHandler.Operator; 184 * Gets implicit operator setting, which will be either {@link Operator#AND} 185 * or {@link Operator#OR}. 187 public StandardQueryConfigHandler.Operator getDefaultOperator() { 222 * {@link Operator#OR}) terms without any modifiers are considered optional: 225 * In {@link Operator#AND} mode terms are considered to be in conjunction: the 231 public void setDefaultOperator(DefaultOperatorAttribute.Operator operator) { 238 * {@link Operator#OR}) terms without any modifiers are considered optional: 241 * In {@link Operator#AND} mode terms are considered to be in conjunction: the 245 org.apache.lucene.queryParser.standard.config.StandardQueryConfigHandler.Operator operato [all...] |
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/precedence/processors/ |
H A D | BooleanModifiersQueryNodeProcessor.java | 34 import org.apache.lucene.queryParser.standard.config.StandardQueryConfigHandler.Operator; 44 * {@link BooleanQueryNode} which is not an {@link OrQueryNode}, it checks the default operator is {@link Operator#AND}, 63 Operator op = getQueryConfigHandler().get(ConfigurationKeys.DEFAULT_OPERATOR); 70 this.usingAnd = StandardQueryConfigHandler.Operator.AND == op;
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/ |
H A D | LuceneQParserPlugin.java | 72 lparser.setDefaultOperator("AND".equals(opParam) ? QueryParser.Operator.AND : QueryParser.Operator.OR); 75 QueryParser.Operator operator = getReq().getSchema().getSolrQueryParser(null).getDefaultOperator(); 76 lparser.setDefaultOperator(null == operator ? QueryParser.Operator.OR : operator);
|
H A D | QueryParsing.java | 118 parser.setDefaultOperator("AND".equals(opParam) ? QueryParser.Operator.AND : QueryParser.Operator.OR);
|
H A D | ExtendedDismaxQParserPlugin.java | 890 setDefaultOperator(QueryParser.Operator.OR);
|
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/standard/processors/ |
H A D | GroupQueryNodeProcessor.java | 36 import org.apache.lucene.queryParser.standard.config.StandardQueryConfigHandler.Operator; 68 Operator defaultOperator = getQueryConfigHandler().get(ConfigurationKeys.DEFAULT_OPERATOR); 75 this.usingAnd = StandardQueryConfigHandler.Operator.AND == defaultOperator;
|
/lucene-3.6.0/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/ |
H A D | TestAttributes.java | 48 import org.apache.lucene.queryParser.standard.config.StandardQueryConfigHandler.Operator; 237 Assert.assertEquals(DefaultOperatorAttribute.Operator.OR, defaultOpAttr 239 Assert.assertEquals(Operator.OR, config 241 DefaultOperatorAttribute.Operator oldOperator = DefaultOperatorAttribute.Operator.AND; 242 Operator newOperator = Operator.AND;
|
/lucene-3.6.0/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/precedence/ |
H A D | TestPrecedenceQueryParser.java | 145 qp.setDefaultOperator(StandardQueryConfigHandler.Operator.OR); 191 qp.setDefaultOperator(StandardQueryConfigHandler.Operator.AND); 251 assertEquals(StandardQueryConfigHandler.Operator.OR, qp.getDefaultOperator()); 252 qp.setDefaultOperator(StandardQueryConfigHandler.Operator.AND); 253 assertEquals(StandardQueryConfigHandler.Operator.AND, qp.getDefaultOperator()); 254 qp.setDefaultOperator(StandardQueryConfigHandler.Operator.OR); 255 assertEquals(StandardQueryConfigHandler.Operator.OR, qp.getDefaultOperator()); 636 parser.setDefaultOperator(StandardQueryConfigHandler.Operator.AND);
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/queryParser/ |
H A D | QueryParser.jj | 151 /** Alternative form of QueryParser.Operator.AND */ 152 public static final Operator AND_OPERATOR = Operator.AND; 153 /** Alternative form of QueryParser.Operator.OR */ 154 public static final Operator OR_OPERATOR = Operator.OR; 157 private Operator operator = OR_OPERATOR; 199 static public enum Operator { OR, AND } 385 public void setDefaultOperator(Operator op) { 394 public Operator getDefaultOperato [all...] |
H A D | QueryParser.java | 127 /** Alternative form of QueryParser.Operator.AND */ 128 public static final Operator AND_OPERATOR = Operator.AND; 129 /** Alternative form of QueryParser.Operator.OR */ 130 public static final Operator OR_OPERATOR = Operator.OR; 133 private Operator operator = OR_OPERATOR; 175 static public enum Operator { OR, AND } enum in class:QueryParser 361 public void setDefaultOperator(Operator op) { 370 public Operator getDefaultOperato [all...] |
/lucene-3.6.0/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/standard/ |
H A D | TestMultiFieldQPHelper.java | 136 mfqp.setDefaultOperator(StandardQueryConfigHandler.Operator.AND); 332 mfqp.setDefaultOperator(StandardQueryConfigHandler.Operator.AND);
|
H A D | TestMultiAnalyzerQPHelper.java | 108 qp.setDefaultOperator(StandardQueryConfigHandler.Operator.AND);
|
H A D | TestQPHelper.java | 64 import org.apache.lucene.queryParser.standard.config.StandardQueryConfigHandler.Operator; 210 qp.setDefaultOperator(StandardQueryConfigHandler.Operator.OR); 299 qp.setDefaultOperator(Operator.AND);
|
H A D | TestMultiFieldQueryParserWrapper.java | 335 mfqp.setDefaultOperator(QueryParserWrapper.Operator.AND);
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/queryParser/ |
H A D | TestMultiFieldQueryParser.java | 294 mfqp.setDefaultOperator(QueryParser.Operator.AND);
|
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/queryParser/ |
H A D | TestMultiFieldQueryParser.java | 294 mfqp.setDefaultOperator(QueryParser.Operator.AND);
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/util/ |
H A D | SolrPluginUtils.java | 811 setDefaultOperator(QueryParser.Operator.OR); 816 setDefaultOperator(QueryParser.Operator.OR);
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/schema/ |
H A D | IndexSchema.java | 278 QueryParser.Operator.AND : QueryParser.Operator.OR);
|