Uses of Class
org.apache.jackrabbit.core.query.lucene.IndexFormatVersion
-
Packages that use IndexFormatVersion Package Description org.apache.jackrabbit.core.query.lucene -
-
Uses of IndexFormatVersion in org.apache.jackrabbit.core.query.lucene
Fields in org.apache.jackrabbit.core.query.lucene declared as IndexFormatVersion Modifier and Type Field Description protected IndexFormatVersion
NodeIndexer. indexFormatVersion
Indicates index format for this node indexer.static IndexFormatVersion
IndexFormatVersion. V1
V1 is the index format for Jackrabbit releases 1.0 to 1.3.x.static IndexFormatVersion
IndexFormatVersion. V2
V2 is the index format for Jackrabbit releases 1.4.xstatic IndexFormatVersion
IndexFormatVersion. V3
V3 is the index format for Jackrabbit releases >= 1.5Methods in org.apache.jackrabbit.core.query.lucene that return IndexFormatVersion Modifier and Type Method Description IndexFormatVersion
SearchIndex. getIndexFormatVersion()
Returns the index format version that this search index is able to support when a query is executed on this index.static IndexFormatVersion
IndexFormatVersion. getVersion(org.apache.lucene.index.IndexReader indexReader)
Methods in org.apache.jackrabbit.core.query.lucene with parameters of type IndexFormatVersion Modifier and Type Method Description protected org.apache.lucene.document.Document
SearchIndex. createDocument(NodeState node, NamespaceMappings nsMappings, IndexFormatVersion indexFormatVersion)
Creates a luceneDocument
for a node state using the namespace mappingsnsMappings
.static org.apache.lucene.search.Query
Util. createMatchAllQuery(String name, IndexFormatVersion version, org.apache.jackrabbit.core.query.lucene.PerQueryCache cache)
Depending on the index format this method returns a query that matches all nodes that have a property with a givenname
.static org.apache.lucene.search.Query
LuceneQueryBuilder. createQuery(QueryRootNode root, SessionImpl session, ItemStateManager sharedItemMgr, NamespaceMappings nsMappings, org.apache.lucene.analysis.Analyzer analyzer, PropertyTypeRegistry propReg, SynonymProvider synonymProvider, IndexFormatVersion indexFormatVersion, org.apache.jackrabbit.core.query.lucene.PerQueryCache cache)
Creates a luceneQuery
tree from an abstract query tree.boolean
IndexFormatVersion. isAtLeast(IndexFormatVersion version)
Returnstrue
if this version is at least as high as the givenversion
.protected void
SearchIndex. mergeAggregatedNodeIndexes(NodeState state, org.apache.lucene.document.Document doc, IndexFormatVersion ifv)
Merges the fulltext indexed fields of the aggregated node states intodoc
.void
NodeIndexer. setIndexFormatVersion(IndexFormatVersion indexFormatVersion)
Sets the index format versionConstructors in org.apache.jackrabbit.core.query.lucene with parameters of type IndexFormatVersion Constructor Description LocalNameQuery(String localName, IndexFormatVersion version)
Creates a newLocalNameQuery
for the givenlocalName
.NameQuery(Name nodeName, IndexFormatVersion version, NamespaceMappings nsMappings)
Creates a newNameQuery
.NameRangeQuery(Name lowerName, Name upperName, boolean inclusive, IndexFormatVersion version, NamespaceMappings nsMappings, org.apache.jackrabbit.core.query.lucene.PerQueryCache cache)
Creates a new NameRangeQuery.
-