|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.core.query.lucene.LuceneQueryFactoryImpl
public class LuceneQueryFactoryImpl
LuceneQueryFactoryImpl implements a lucene query factory.
| Constructor Summary | |
|---|---|
LuceneQueryFactoryImpl(SessionImpl session,
org.apache.lucene.search.SortComparatorSource scs,
HierarchyManager hmgr,
NamespaceMappings nsMappings,
org.apache.lucene.analysis.Analyzer analyzer,
SynonymProvider synonymProvider,
IndexFormatVersion version)
Creates a new lucene query factory. |
|
| Method Summary | |
|---|---|
org.apache.lucene.search.Query |
create(FullTextSearchImpl fts)
Creates a lucene query for the given QOM full text search. |
MultiColumnQuery |
create(JoinImpl join)
Creates a multi column query for the given QOM join. |
org.apache.lucene.search.Query |
create(PropertyExistenceImpl prop)
Creates a lucene query for the given QOM property existence constraint. |
org.apache.lucene.search.Query |
create(SelectorImpl selector)
Creates a lucene query for the given QOM selector. |
MultiColumnQuery |
create(SourceImpl source)
Creates a multi column query for the given QOM source. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LuceneQueryFactoryImpl(SessionImpl session,
org.apache.lucene.search.SortComparatorSource scs,
HierarchyManager hmgr,
NamespaceMappings nsMappings,
org.apache.lucene.analysis.Analyzer analyzer,
SynonymProvider synonymProvider,
IndexFormatVersion version)
session - the session that executes the query.scs - the sort comparator source of the index.hmgr - the hierarchy manager of the workspace.nsMappings - the index internal namespace mappings.analyzer - the analyzer of the index.synonymProvider - the synonym provider of the index.version - the version of the index format.| Method Detail |
|---|
public org.apache.lucene.search.Query create(SelectorImpl selector)
throws RepositoryException
create in interface LuceneQueryFactoryselector - the selector.
RepositoryException - if an error occurs while creating the query.
public org.apache.lucene.search.Query create(FullTextSearchImpl fts)
throws RepositoryException
create in interface LuceneQueryFactoryfts - the full text search constraint.
RepositoryException - if an error occurs while creating the query.
public org.apache.lucene.search.Query create(PropertyExistenceImpl prop)
throws RepositoryException
create in interface LuceneQueryFactoryprop - the QOM constraint.
RepositoryException - if an error occurs while creating the query.
public MultiColumnQuery create(SourceImpl source)
throws RepositoryException
create in interface LuceneQueryFactorysource - the QOM source.
RepositoryException - if an error occurs while creating the query.
public MultiColumnQuery create(JoinImpl join)
throws RepositoryException
create in interface LuceneQueryFactoryjoin - the QOM join.
RepositoryException - if an error occurs while creating the query.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||