org.compass.core.engine
Interface SearchEngineQueryBuilder

All Known Implementing Classes:
LuceneSearchEngineQueryBuilder

public interface SearchEngineQueryBuilder

Author:
kimchy

Nested Class Summary
static interface SearchEngineQueryBuilder.SearchEngineBooleanQueryBuilder
           
static interface SearchEngineQueryBuilder.SearchEngineMoreLikeThisQueryBuilder
           
static interface SearchEngineQueryBuilder.SearchEngineMultiPhraseQueryBuilder
           
static interface SearchEngineQueryBuilder.SearchEngineMultiPropertyQueryStringBuilder
           
static interface SearchEngineQueryBuilder.SearchEngineQuerySpanNearBuilder
           
static interface SearchEngineQueryBuilder.SearchEngineQuerySpanOrBuilder
           
static interface SearchEngineQueryBuilder.SearchEngineQueryStringBuilder
           
static interface SearchEngineQueryBuilder.SearchEngineToQuery
           
 
Method Summary
 SearchEngineQuery between(String resourcePropertyName, String low, String high, boolean inclusive)
           
 SearchEngineQuery between(String resourcePropertyName, String low, String high, boolean inclusive, boolean constantScore)
           
 SearchEngineQueryBuilder.SearchEngineBooleanQueryBuilder bool()
           
 SearchEngineQueryBuilder.SearchEngineBooleanQueryBuilder bool(boolean disableCoord)
           
 SearchEngineQuery fuzzy(String resourcePropertyName, String value)
           
 SearchEngineQuery fuzzy(String resourcePropertyName, String value, float minimumSimilarity)
           
 SearchEngineQuery fuzzy(String resourcePropertyName, String value, float minimumSimilarity, int prefixLength)
           
 SearchEngineQuery ge(String resourcePropertyName, String value)
           
 SearchEngineQuery gt(String resourcePropertyName, String value)
           
 SearchEngineQuery le(String resourcePropertyName, String value)
           
 SearchEngineQuery lt(String resourcePropertyName, String value)
           
 SearchEngineQuery matchAll()
           
 SearchEngineQueryBuilder.SearchEngineMoreLikeThisQueryBuilder moreLikeThis(Reader reader)
           
 SearchEngineQueryBuilder.SearchEngineMoreLikeThisQueryBuilder moreLikeThis(Resource idResource)
           
 SearchEngineQueryBuilder.SearchEngineMultiPhraseQueryBuilder multiPhrase(String resourcePropertyName)
           
 SearchEngineQueryBuilder.SearchEngineMultiPropertyQueryStringBuilder multiPropertyQueryString(String queryString)
           
 SearchEngineQuery prefix(String resourcePropertyName, String prefix)
           
 SearchEngineQueryBuilder.SearchEngineQueryStringBuilder queryString(String queryString)
           
 SearchEngineQuery.SearchEngineSpanQuery spanEq(String resourcePropertyName, String value)
           
 SearchEngineQuery.SearchEngineSpanQuery spanFirst(SearchEngineQuery.SearchEngineSpanQuery searchEngineSpanQuery, int end)
           
 SearchEngineQuery.SearchEngineSpanQuery spanFirst(String resourcePropertyName, String value, int end)
           
 SearchEngineQueryBuilder.SearchEngineQuerySpanNearBuilder spanNear(String resourcePropertyName)
           
 SearchEngineQuery.SearchEngineSpanQuery spanNot(SearchEngineQuery.SearchEngineSpanQuery include, SearchEngineQuery.SearchEngineSpanQuery exclude)
           
 SearchEngineQueryBuilder.SearchEngineQuerySpanOrBuilder spanOr()
           
 SearchEngineQuery term(String resourcePropertyName, String value)
           
 SearchEngineQuery wildcard(String resourcePropertyName, String wildcard)
           
 

Method Detail

bool

SearchEngineQueryBuilder.SearchEngineBooleanQueryBuilder bool()

bool

SearchEngineQueryBuilder.SearchEngineBooleanQueryBuilder bool(boolean disableCoord)

multiPhrase

SearchEngineQueryBuilder.SearchEngineMultiPhraseQueryBuilder multiPhrase(String resourcePropertyName)

queryString

SearchEngineQueryBuilder.SearchEngineQueryStringBuilder queryString(String queryString)

multiPropertyQueryString

SearchEngineQueryBuilder.SearchEngineMultiPropertyQueryStringBuilder multiPropertyQueryString(String queryString)

wildcard

SearchEngineQuery wildcard(String resourcePropertyName,
                           String wildcard)

term

SearchEngineQuery term(String resourcePropertyName,
                       String value)

matchAll

SearchEngineQuery matchAll()

between

SearchEngineQuery between(String resourcePropertyName,
                          String low,
                          String high,
                          boolean inclusive,
                          boolean constantScore)

between

SearchEngineQuery between(String resourcePropertyName,
                          String low,
                          String high,
                          boolean inclusive)

lt

SearchEngineQuery lt(String resourcePropertyName,
                     String value)

le

SearchEngineQuery le(String resourcePropertyName,
                     String value)

gt

SearchEngineQuery gt(String resourcePropertyName,
                     String value)

ge

SearchEngineQuery ge(String resourcePropertyName,
                     String value)

prefix

SearchEngineQuery prefix(String resourcePropertyName,
                         String prefix)

fuzzy

SearchEngineQuery fuzzy(String resourcePropertyName,
                        String value)

fuzzy

SearchEngineQuery fuzzy(String resourcePropertyName,
                        String value,
                        float minimumSimilarity)

fuzzy

SearchEngineQuery fuzzy(String resourcePropertyName,
                        String value,
                        float minimumSimilarity,
                        int prefixLength)

spanEq

SearchEngineQuery.SearchEngineSpanQuery spanEq(String resourcePropertyName,
                                               String value)

spanFirst

SearchEngineQuery.SearchEngineSpanQuery spanFirst(SearchEngineQuery.SearchEngineSpanQuery searchEngineSpanQuery,
                                                  int end)

spanFirst

SearchEngineQuery.SearchEngineSpanQuery spanFirst(String resourcePropertyName,
                                                  String value,
                                                  int end)

spanNear

SearchEngineQueryBuilder.SearchEngineQuerySpanNearBuilder spanNear(String resourcePropertyName)

spanNot

SearchEngineQuery.SearchEngineSpanQuery spanNot(SearchEngineQuery.SearchEngineSpanQuery include,
                                                SearchEngineQuery.SearchEngineSpanQuery exclude)

spanOr

SearchEngineQueryBuilder.SearchEngineQuerySpanOrBuilder spanOr()

moreLikeThis

SearchEngineQueryBuilder.SearchEngineMoreLikeThisQueryBuilder moreLikeThis(Resource idResource)

moreLikeThis

SearchEngineQueryBuilder.SearchEngineMoreLikeThisQueryBuilder moreLikeThis(Reader reader)


Copyright (c) 2004-2008 The Compass Project.