Searched refs:Query (Results 1 - 25 of 400) sorted by relevance

1234567891011>>

/lucene-3.6.0/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/
H A DQueryBuilder.java3 import org.apache.lucene.search.Query;
22 * Implemented by objects that produce Lucene Query objects from XML streams. Implementations are
27 public Query getQuery(Element e) throws ParserException;
/lucene-3.6.0/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/
H A DQueryMaker.java21 import org.apache.lucene.search.Query;
35 public Query makeQuery (int size) throws Exception;
38 public Query makeQuery () throws Exception;
H A DSimpleQueryMaker.java25 import org.apache.lucene.search.Query;
45 protected Query[] prepareQueries() throws Exception {
51 ArrayList<Query> qq = new ArrayList<Query>();
52 Query q1 = new TermQuery(new Term(DocMaker.ID_FIELD,"doc2"));
54 Query q2 = new TermQuery(new Term(DocMaker.BODY_FIELD,"simple"));
67 return qq.toArray(new Query[0]);
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/
H A DQueryUtils.java23 import org.apache.lucene.search.Query;
33 public static boolean isNegative(Query q) {
51 * @param q Query to create the absolute version of
52 * @return Absolute version of the Query
54 public static Query getAbs(Query q) {
56 Query subQ = ((WrappedQuery)q).getWrappedQuery();
57 Query absSubQ = getAbs(subQ);
77 Query negClause = clauses.get(0).getQuery();
98 public static Query makeQueryabl
[all...]
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/ext/
H A DParserExtension.java22 import org.apache.lucene.search.Query;
41 * {@link Query} instance. Subclasses must either return a {@link Query}
51 public abstract Query parse(final ExtensionQuery query) throws ParseException;
/lucene-3.6.0/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/
H A DSpanBuilderBase.java3 import org.apache.lucene.search.Query;
28 public Query getQuery(Element e) throws ParserException
H A DMatchAllDocsQueryBuilder.java4 import org.apache.lucene.search.Query;
30 public Query getQuery(Element e) throws ParserException
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/search/spans/
H A DTestSpanExplanationsOfNonMatches.java21 import org.apache.lucene.search.Query;
37 public void qtest(Query q, int[] expDocNrs) throws Exception {
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/search/spans/
H A DTestSpanExplanationsOfNonMatches.java21 import org.apache.lucene.search.Query;
37 public void qtest(Query q, int[] expDocNrs) throws Exception {
/lucene-3.6.0/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/quality/
H A DQualityQueryParser.java20 import org.apache.lucene.search.Query;
32 public Query parse(QualityQuery qq) throws ParseException;
/lucene-3.6.0/solr/core/src/java/org/apache/solr/schema/
H A DSpatialQueryable.java20 import org.apache.lucene.search.Query;
26 * Indicate that the implementing class is capable of generating a Query against spatial resources.
33 public Query createSpatialQuery(QParser parser, SpatialOptions options);
/lucene-3.6.0/lucene/contrib/join/src/java/org/apache/lucene/search/join/
H A DJoinUtil.java21 import org.apache.lucene.search.Query;
49 * @return a {@link org.apache.lucene.search.Query} instance that can be used to join documents based on the
53 public static Query createJoinQuery(String fromField,
55 Query fromQuery,
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/standard/builders/
H A DGroupQueryNodeBuilder.java24 import org.apache.lucene.search.Query;
27 * Builds no object, it only returns the {@link Query} object set on the
37 public Query build(QueryNode queryNode) throws QueryNodeException {
40 return (Query) (groupNode).getChild().getTag(
H A DModifierQueryNodeBuilder.java24 import org.apache.lucene.search.Query;
27 * Builds no object, it only returns the {@link Query} object set on the
37 public Query build(QueryNode queryNode) throws QueryNodeException {
40 return (Query) (modifierNode).getChild().getTag(
H A DBoostQueryNodeBuilder.java24 import org.apache.lucene.search.Query;
27 * This builder basically reads the {@link Query} object set on the
38 public Query build(QueryNode queryNode) throws QueryNodeException {
46 Query query = (Query) child
H A DSlopQueryNodeBuilder.java26 import org.apache.lucene.search.Query;
29 * This builder basically reads the {@link Query} object set on the
40 public Query build(QueryNode queryNode) throws QueryNodeException {
43 Query query = (Query) phraseSlopNode.getChild().getTag(
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/
H A DSrndBooleanQuery.java21 import org.apache.lucene.search.Query;
28 List<Query> queries,
35 public static Query makeBooleanQuery(
36 List<Query> queries,
H A DSrndQuery.java21 import org.apache.lucene.search.Query;
46 public Query makeLuceneQueryField(String fieldName, BasicQueryFactory qf){
47 Query q = makeLuceneQueryFieldNoBoost(fieldName, qf);
54 public abstract Query makeLuceneQueryFieldNoBoost(String fieldName, BasicQueryFactory qf);
71 public final static Query theEmptyLcnQuery = new BooleanQuery() { /* no changes allowed */
81 public void add(Query query, BooleanClause.Occur occur) {
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/search/
H A DTestComplexExplanationsOfNonMatches.java34 public void qtest(Query q, int[] expDocNrs) throws Exception {
H A DTestSimpleExplanationsOfNonMatches.java35 public void qtest(Query q, int[] expDocNrs) throws Exception {
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/search/
H A DTestComplexExplanationsOfNonMatches.java34 public void qtest(Query q, int[] expDocNrs) throws Exception {
H A DTestSimpleExplanationsOfNonMatches.java35 public void qtest(Query q, int[] expDocNrs) throws Exception {
/lucene-3.6.0/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/ext/
H A DExtensionStub.java5 import org.apache.lucene.search.Query;
28 public Query parse(ExtensionQuery components) throws ParseException {
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/
H A DScorer.java148 public static abstract class ScorerVisitor<P extends Query, C extends Query, S extends Scorer> {
185 public void visitScorers(ScorerVisitor<Query, Query, Scorer> visitor) {
201 protected void visitSubScorers(Query parent, Occur relationship,
202 ScorerVisitor<Query, Query, Scorer> visitor) {
206 final Query q = weight.getQuery();
/lucene-3.6.0/lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/
H A DTestParser.java15 import org.apache.lucene.search.Query;
95 Query q=parse("TermQuery.xml");
100 Query q=parse("TermsQuery.xml");
105 Query q=parse("BooleanQuery.xml");
110 Query q=parse("RangeFilterQuery.xml");
115 Query q=parse("UserInputQuery.xml");
121 Query q=parse("UserInputQueryCustomField.xml");
129 Query q=parse("LikeThisQuery.xml");
134 Query q=parse("BoostingQuery.xml");
139 Query
[all...]

Completed in 71 milliseconds

1234567891011>>