public class SolrQueryParser extends AbstractLuceneQueryParser
AbstractLuceneQueryParser.SubQuerydictionaryService, namespacePrefixResolverAND_OPERATOR, jj_nt, OR_OPERATOR, token, token_sourceFIELD_ACLID, FIELD_ACLTXCOMMITTIME, FIELD_ACLTXID, FIELD_ALL, FIELD_ANCESTOR, FIELD_ASPECT, FIELD_ASSOCTYPEQNAME, FIELD_AUTHORITY, FIELD_AUTHORITYSET, FIELD_CLASS, FIELD_CONTENT_DOC_ID_SUFFIX, FIELD_DBID, FIELD_ENCODING_SUFFIX, FIELD_EXACTASPECT, FIELD_EXACTTYPE, FIELD_EXCEPTION_MESSAGE, FIELD_EXCEPTION_STACK, FIELD_FTSREF, FIELD_FTSSTATUS, FIELD_ID, FIELD_INACLTXID, FIELD_INTXID, FIELD_ISCATEGORY, FIELD_ISCONTAINER, FIELD_ISNODE, FIELD_ISNOTNULL, FIELD_ISNULL, FIELD_ISROOT, FIELD_ISUNSET, FIELD_LID, FIELD_LINKASPECT, FIELD_LOCALE_SUFFIX, FIELD_MIMETYPE_SUFFIX, FIELD_NO_LOCALE_SUFFIX, FIELD_OWNER, FIELD_OWNERSET, FIELD_PARENT, FIELD_PARENT_ASSOC_CRC, FIELD_PATH, FIELD_PATHWITHREPEATS, FIELD_PRIMARYASSOCQNAME, FIELD_PRIMARYASSOCTYPEQNAME, FIELD_PRIMARYPARENT, FIELD_QNAME, FIELD_READER, FIELD_READERSET, FIELD_SIZE_SUFFIX, FIELD_SORT_SUFFIX, FIELD_TAG, FIELD_TENANT, FIELD_TEXT, FIELD_TRANSFORMATION_EXCEPTION_SUFFIX, FIELD_TRANSFORMATION_STATUS_SUFFIX, FIELD_TRANSFORMATION_TIME_SUFFIX, FIELD_TX, FIELD_TXCOMMITTIME, FIELD_TXID, FIELD_TYPE, PROPERTY_FIELD_PREFIX_ESCAPED_CHAR, _NUM_CHAR, _QUOTED_CHAR, _TERM_CHAR, _TERM_START_CHAR, _WHITESPACE, AND, Boost, CARAT, COLON, DEFAULT, EOF, FUZZY_SLOP, LPAREN, MINUS, NOT, NUMBER, OR, PLUS, PREFIXTERM, QUOTED, RangeEx, RANGEEX_END, RANGEEX_GOOP, RANGEEX_QUOTED, RANGEEX_START, RANGEEX_TO, RangeIn, RANGEIN_END, RANGEIN_GOOP, RANGEIN_QUOTED, RANGEIN_START, RANGEIN_TO, RPAREN, STAR, TERM, tokenImage, WILDTERM| Constructor and Description |
|---|
SolrQueryParser(org.apache.lucene.queryParser.CharStream arg0) |
SolrQueryParser(org.apache.lucene.queryParser.QueryParserTokenManager arg0) |
SolrQueryParser(String arg0,
org.apache.lucene.analysis.Analyzer arg1) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.lucene.search.Query |
addContentAttributeQuery(String queryText,
AbstractLuceneQueryParser.SubQuery subQueryBuilder,
org.alfresco.repo.search.adaptor.lucene.AnalysisMode analysisMode,
org.alfresco.repo.search.adaptor.lucene.LuceneFunction luceneFunction,
String expandedFieldName,
List<Locale> expandedLocales,
org.alfresco.repo.search.MLAnalysisMode mlAnalysisMode) |
boolean |
addContentCrossLocaleWildcards() |
protected org.apache.lucene.search.Query |
addContentSpanQuery(String field,
String first,
String last,
int slop,
boolean inOrder,
String expandedFieldName,
List<Locale> expandedLocales,
org.alfresco.repo.search.MLAnalysisMode mlAnalysisMode) |
protected void |
addLocaleSpecificUntokenisedMLOrTextFunction(String expandedFieldName,
String queryText,
org.alfresco.repo.search.adaptor.lucene.LuceneFunction luceneFunction,
org.apache.lucene.search.BooleanQuery booleanQuery,
org.alfresco.repo.search.MLAnalysisMode mlAnalysisMode,
Locale locale,
org.alfresco.repo.dictionary.IndexTokenisationMode tokenisationMode) |
protected void |
addLocaleSpecificUntokenisedTextRangeFunction(String expandedFieldName,
String lower,
String upper,
boolean includeLower,
boolean includeUpper,
org.alfresco.repo.search.adaptor.lucene.LuceneFunction luceneFunction,
org.apache.lucene.search.BooleanQuery booleanQuery,
org.alfresco.repo.search.MLAnalysisMode mlAnalysisMode,
Locale locale,
org.alfresco.repo.dictionary.IndexTokenisationMode tokenisationMode) |
protected void |
addMLTextAttributeQuery(String field,
String queryText,
AbstractLuceneQueryParser.SubQuery subQueryBuilder,
org.alfresco.repo.search.adaptor.lucene.AnalysisMode analysisMode,
org.alfresco.repo.search.adaptor.lucene.LuceneFunction luceneFunction,
String expandedFieldName,
org.alfresco.service.cmr.dictionary.PropertyDefinition propertyDef,
org.alfresco.repo.dictionary.IndexTokenisationMode tokenisationMode,
org.apache.lucene.search.BooleanQuery booleanQuery,
org.alfresco.repo.search.MLAnalysisMode mlAnalysisMode,
Locale locale) |
protected void |
addMLTextSpanQuery(String field,
String first,
String last,
int slop,
boolean inOrder,
String expandedFieldName,
org.alfresco.service.cmr.dictionary.PropertyDefinition propertyDef,
org.alfresco.repo.dictionary.IndexTokenisationMode tokenisationMode,
org.apache.lucene.search.BooleanQuery booleanQuery,
org.alfresco.repo.search.MLAnalysisMode mlAnalysisMode,
Locale locale) |
protected void |
addTextAttributeQuery(String field,
String queryText,
AbstractLuceneQueryParser.SubQuery subQueryBuilder,
org.alfresco.repo.search.adaptor.lucene.AnalysisMode analysisMode,
org.alfresco.repo.search.adaptor.lucene.LuceneFunction luceneFunction,
String expandedFieldName,
org.alfresco.repo.dictionary.IndexTokenisationMode tokenisationMode,
org.apache.lucene.search.BooleanQuery booleanQuery,
org.alfresco.repo.search.MLAnalysisMode mlAnalysisMode,
Locale locale) |
protected void |
addTextRange(String field,
String part1,
String part2,
boolean includeLower,
boolean includeUpper,
org.alfresco.repo.search.adaptor.lucene.AnalysisMode analysisMode,
String fieldName,
org.alfresco.service.cmr.dictionary.PropertyDefinition propertyDef,
org.alfresco.repo.dictionary.IndexTokenisationMode tokenisationMode,
org.apache.lucene.search.BooleanQuery booleanQuery,
org.alfresco.repo.search.MLAnalysisMode mlAnalysisMode,
Locale locale) |
protected void |
addTextSpanQuery(String field,
String first,
String last,
int slop,
boolean inOrder,
String expandedFieldName,
org.alfresco.repo.dictionary.IndexTokenisationMode tokenisationMode,
org.apache.lucene.search.BooleanQuery booleanQuery,
org.alfresco.repo.search.MLAnalysisMode mlAnalysisMode,
Locale locale) |
protected org.apache.lucene.search.Query |
createAclIdQuery(String queryText) |
protected org.apache.lucene.search.Query |
createAncestorQuery(String queryText) |
protected org.apache.lucene.search.Query |
createAssocTypeQNameQuery(String queryText) |
protected org.apache.lucene.search.Query |
createAuthorityQuery(String queryText) |
protected org.apache.lucene.search.Query |
createAuthoritySetQuery(String queryText) |
protected org.apache.lucene.search.Query |
createDbidQuery(String queryText) |
protected org.apache.lucene.search.Query |
createIdQuery(String queryText) |
protected org.apache.lucene.search.Query |
createOwnerQuery(String queryText) |
protected org.apache.lucene.search.Query |
createOwnerSetQuery(String queryText) |
protected org.apache.lucene.search.Query |
createParentQuery(String queryText) |
protected org.apache.lucene.search.Query |
createPathQuery(String queryText,
boolean withRepeats) |
protected org.apache.lucene.search.Query |
createPrimaryAssocQNameQuery(String queryText) |
protected org.apache.lucene.search.Query |
createPrimaryAssocTypeQNameQuery(String queryText) |
protected org.apache.lucene.search.Query |
createPrimaryParentQuery(String queryText) |
protected org.apache.lucene.search.Query |
createQNameQuery(String queryText) |
protected org.apache.lucene.search.Query |
createReaderQuery(String queryText) |
protected org.apache.lucene.search.Query |
createReaderSetQuery(String queryText) |
protected boolean |
isLucene() |
buildDateTimeRange, createAclTxCommitTimeQuery, createAclTxIdQuery, createAllQuery, createAspectQuery, createDataTypeDefinitionQuery, createInAclTxIdQuery, createInTxIdQuery, createIsContainerQuery, createIsNodeQuery, createIsNotNull, createIsNullQuery, createIsRootQuery, createIsUnsetQuery, createNodeRefQuery, createNoMatchQuery, createTagQuery, createTenantQuery, createTermQuery, createTextQuery, createTransactionQuery, createTxCommitTimeQuery, createTxIdQuery, createTypeQuery, functionQueryBuilder, getAnalyzer, getDefaultSearchMLAnalysisMode, getDoesNotMatchFieldQuery, getFieldQuery, getFieldQuery, getFieldQuery, getFieldQuery, getFieldQueryImpl, getFuzzyQuery, getIndexReader, getLikeQuery, getNonEmptyBooleanQuery, getPrefixQuery, getPrefixQuery, getRangeQuery, getRangeQuery, getSearchParameters, getSpanQuery, getSuperFieldQuery, getSuperFuzzyQuery, getSuperPrefixQuery, getSuperWildcardQuery, getToken, getWildcardQuery, getWildcardQuery, main, newPrefixQuery, newWildcardQuery, setDefaultSearchMLAnalysisMode, setDictionaryService, setIndexReader, setNamespacePrefixResolver, setSearchParameters, setTenantServiceaddClause, addClause, Clause, Conjunction, disable_tracing, enable_tracing, escape, generateParseException, getAllowLeadingWildcard, getBooleanQuery, getBooleanQuery, getBooleanQuery, getBooleanQuery, getDateResolution, getDefaultOperator, getEnablePositionIncrements, getField, getFuzzyMinSim, getFuzzyPrefixLength, getLocale, getLowercaseExpandedTerms, getMultiTermRewriteMethod, getNextToken, getPhraseSlop, getRangeCollator, getToken, getUseOldRangeQuery, Modifiers, newBooleanClause, newBooleanQuery, newFuzzyQuery, newMatchAllDocsQuery, newMultiPhraseQuery, newPhraseQuery, newRangeQuery, newTermQuery, parse, Query, ReInit, ReInit, setAllowLeadingWildcard, setDateResolution, setDateResolution, setDefaultOperator, setEnablePositionIncrements, setFuzzyMinSim, setFuzzyPrefixLength, setLocale, setLowercaseExpandedTerms, setMultiTermRewriteMethod, setPhraseSlop, setRangeCollator, setUseOldRangeQuery, Term, TopLevelQuerypublic SolrQueryParser(String arg0, org.apache.lucene.analysis.Analyzer arg1)
arg0 - arg1 - public SolrQueryParser(org.apache.lucene.queryParser.CharStream arg0)
arg0 - public SolrQueryParser(org.apache.lucene.queryParser.QueryParserTokenManager arg0)
arg0 - protected org.apache.lucene.search.Query createIdQuery(String queryText)
createIdQuery in class AbstractLuceneQueryParserprotected org.apache.lucene.search.Query createDbidQuery(String queryText) throws org.apache.lucene.queryParser.ParseException
createDbidQuery in class AbstractLuceneQueryParserorg.apache.lucene.queryParser.ParseExceptionprotected org.apache.lucene.search.Query createPathQuery(String queryText, boolean withRepeats) throws org.jaxen.saxpath.SAXPathException
createPathQuery in class AbstractLuceneQueryParserorg.jaxen.saxpath.SAXPathExceptionprotected org.apache.lucene.search.Query createQNameQuery(String queryText) throws org.jaxen.saxpath.SAXPathException
createQNameQuery in class AbstractLuceneQueryParserorg.jaxen.saxpath.SAXPathExceptionprotected org.apache.lucene.search.Query createPrimaryAssocQNameQuery(String queryText) throws org.jaxen.saxpath.SAXPathException
createPrimaryAssocQNameQuery in class AbstractLuceneQueryParserorg.jaxen.saxpath.SAXPathExceptionprotected org.apache.lucene.search.Query createPrimaryAssocTypeQNameQuery(String queryText) throws org.jaxen.saxpath.SAXPathException
createPrimaryAssocTypeQNameQuery in class AbstractLuceneQueryParserorg.jaxen.saxpath.SAXPathExceptionprotected org.apache.lucene.search.Query createAssocTypeQNameQuery(String queryText) throws org.jaxen.saxpath.SAXPathException
createAssocTypeQNameQuery in class AbstractLuceneQueryParserorg.jaxen.saxpath.SAXPathExceptionprotected org.apache.lucene.search.Query createAclIdQuery(String queryText) throws org.apache.lucene.queryParser.ParseException
createAclIdQuery in class AbstractLuceneQueryParserqueryText - org.apache.lucene.queryParser.ParseExceptionprotected org.apache.lucene.search.Query createOwnerQuery(String queryText) throws org.apache.lucene.queryParser.ParseException
createOwnerQuery in class AbstractLuceneQueryParserqueryText - org.apache.lucene.queryParser.ParseExceptionprotected org.apache.lucene.search.Query createReaderQuery(String queryText) throws org.apache.lucene.queryParser.ParseException
createReaderQuery in class AbstractLuceneQueryParserqueryText - org.apache.lucene.queryParser.ParseExceptionprotected org.apache.lucene.search.Query createAuthorityQuery(String queryText) throws org.apache.lucene.queryParser.ParseException
createAuthorityQuery in class AbstractLuceneQueryParserqueryText - org.apache.lucene.queryParser.ParseExceptionprotected org.apache.lucene.search.Query createParentQuery(String queryText)
createParentQuery in class AbstractLuceneQueryParserprotected org.apache.lucene.search.Query createPrimaryParentQuery(String queryText)
createPrimaryParentQuery in class AbstractLuceneQueryParserprotected org.apache.lucene.search.Query addContentAttributeQuery(String queryText, AbstractLuceneQueryParser.SubQuery subQueryBuilder, org.alfresco.repo.search.adaptor.lucene.AnalysisMode analysisMode, org.alfresco.repo.search.adaptor.lucene.LuceneFunction luceneFunction, String expandedFieldName, List<Locale> expandedLocales, org.alfresco.repo.search.MLAnalysisMode mlAnalysisMode) throws org.apache.lucene.queryParser.ParseException
addContentAttributeQuery in class AbstractLuceneQueryParserorg.apache.lucene.queryParser.ParseExceptionprotected void addLocaleSpecificUntokenisedMLOrTextFunction(String expandedFieldName, String queryText, org.alfresco.repo.search.adaptor.lucene.LuceneFunction luceneFunction, org.apache.lucene.search.BooleanQuery booleanQuery, org.alfresco.repo.search.MLAnalysisMode mlAnalysisMode, Locale locale, org.alfresco.repo.dictionary.IndexTokenisationMode tokenisationMode)
addLocaleSpecificUntokenisedMLOrTextFunction in class AbstractLuceneQueryParserprotected void addLocaleSpecificUntokenisedTextRangeFunction(String expandedFieldName, String lower, String upper, boolean includeLower, boolean includeUpper, org.alfresco.repo.search.adaptor.lucene.LuceneFunction luceneFunction, org.apache.lucene.search.BooleanQuery booleanQuery, org.alfresco.repo.search.MLAnalysisMode mlAnalysisMode, Locale locale, org.alfresco.repo.dictionary.IndexTokenisationMode tokenisationMode) throws org.apache.lucene.queryParser.ParseException
addLocaleSpecificUntokenisedTextRangeFunction in class AbstractLuceneQueryParserorg.apache.lucene.queryParser.ParseExceptionprotected void addMLTextAttributeQuery(String field, String queryText, AbstractLuceneQueryParser.SubQuery subQueryBuilder, org.alfresco.repo.search.adaptor.lucene.AnalysisMode analysisMode, org.alfresco.repo.search.adaptor.lucene.LuceneFunction luceneFunction, String expandedFieldName, org.alfresco.service.cmr.dictionary.PropertyDefinition propertyDef, org.alfresco.repo.dictionary.IndexTokenisationMode tokenisationMode, org.apache.lucene.search.BooleanQuery booleanQuery, org.alfresco.repo.search.MLAnalysisMode mlAnalysisMode, Locale locale) throws org.apache.lucene.queryParser.ParseException
addMLTextAttributeQuery in class AbstractLuceneQueryParserorg.apache.lucene.queryParser.ParseExceptionprotected void addTextAttributeQuery(String field, String queryText, AbstractLuceneQueryParser.SubQuery subQueryBuilder, org.alfresco.repo.search.adaptor.lucene.AnalysisMode analysisMode, org.alfresco.repo.search.adaptor.lucene.LuceneFunction luceneFunction, String expandedFieldName, org.alfresco.repo.dictionary.IndexTokenisationMode tokenisationMode, org.apache.lucene.search.BooleanQuery booleanQuery, org.alfresco.repo.search.MLAnalysisMode mlAnalysisMode, Locale locale) throws org.apache.lucene.queryParser.ParseException
addTextAttributeQuery in class AbstractLuceneQueryParserorg.apache.lucene.queryParser.ParseExceptionprotected void addTextRange(String field, String part1, String part2, boolean includeLower, boolean includeUpper, org.alfresco.repo.search.adaptor.lucene.AnalysisMode analysisMode, String fieldName, org.alfresco.service.cmr.dictionary.PropertyDefinition propertyDef, org.alfresco.repo.dictionary.IndexTokenisationMode tokenisationMode, org.apache.lucene.search.BooleanQuery booleanQuery, org.alfresco.repo.search.MLAnalysisMode mlAnalysisMode, Locale locale) throws org.apache.lucene.queryParser.ParseException
addTextRange in class AbstractLuceneQueryParserorg.apache.lucene.queryParser.ParseExceptionprotected boolean isLucene()
isLucene in class AbstractLuceneQueryParserprotected org.apache.lucene.search.Query createAncestorQuery(String queryText) throws org.apache.lucene.queryParser.ParseException
createAncestorQuery in class AbstractLuceneQueryParserorg.apache.lucene.queryParser.ParseExceptionprotected void addTextSpanQuery(String field, String first, String last, int slop, boolean inOrder, String expandedFieldName, org.alfresco.repo.dictionary.IndexTokenisationMode tokenisationMode, org.apache.lucene.search.BooleanQuery booleanQuery, org.alfresco.repo.search.MLAnalysisMode mlAnalysisMode, Locale locale)
addTextSpanQuery in class AbstractLuceneQueryParserprotected org.apache.lucene.search.Query addContentSpanQuery(String field, String first, String last, int slop, boolean inOrder, String expandedFieldName, List<Locale> expandedLocales, org.alfresco.repo.search.MLAnalysisMode mlAnalysisMode)
addContentSpanQuery in class AbstractLuceneQueryParserprotected void addMLTextSpanQuery(String field, String first, String last, int slop, boolean inOrder, String expandedFieldName, org.alfresco.service.cmr.dictionary.PropertyDefinition propertyDef, org.alfresco.repo.dictionary.IndexTokenisationMode tokenisationMode, org.apache.lucene.search.BooleanQuery booleanQuery, org.alfresco.repo.search.MLAnalysisMode mlAnalysisMode, Locale locale)
addMLTextSpanQuery in class AbstractLuceneQueryParserpublic boolean addContentCrossLocaleWildcards()
addContentCrossLocaleWildcards in class AbstractLuceneQueryParserprotected org.apache.lucene.search.Query createOwnerSetQuery(String queryText) throws org.apache.lucene.queryParser.ParseException
createOwnerSetQuery in class AbstractLuceneQueryParserorg.apache.lucene.queryParser.ParseExceptionprotected org.apache.lucene.search.Query createReaderSetQuery(String queryText) throws org.apache.lucene.queryParser.ParseException
createReaderSetQuery in class AbstractLuceneQueryParserorg.apache.lucene.queryParser.ParseExceptionprotected org.apache.lucene.search.Query createAuthoritySetQuery(String queryText) throws org.apache.lucene.queryParser.ParseException
createAuthoritySetQuery in class AbstractLuceneQueryParserorg.apache.lucene.queryParser.ParseExceptionCopyright © 2005–2014 Alfresco Software. All rights reserved.