Uses of Class

Packages that use IndexFormatVersion

Uses of IndexFormatVersion in org.apache.jackrabbit.core.query.lucene

Fields in org.apache.jackrabbit.core.query.lucene declared as IndexFormatVersion
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.x
static IndexFormatVersion IndexFormatVersion.V3
          V3 is the index format for Jackrabbit releases >= 1.5

Methods in org.apache.jackrabbit.core.query.lucene that return IndexFormatVersion
 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
protected  org.apache.lucene.document.Document SearchIndex.createDocument(NodeState node, NamespaceMappings nsMappings, IndexFormatVersion indexFormatVersion)
          Creates a lucene Document for a node state using the namespace mappings nsMappings.
static Util.createMatchAllQuery(String name, IndexFormatVersion version)
          Depending on the index format this method returns a query that matches all nodes that have a property with a given name.
static LuceneQueryBuilder.createQuery(QueryRootNode root, SessionImpl session, ItemStateManager sharedItemMgr, NamespaceMappings nsMappings, org.apache.lucene.analysis.Analyzer analyzer, PropertyTypeRegistry propReg, SynonymProvider synonymProvider, IndexFormatVersion indexFormatVersion)
          Creates a lucene Query tree from an abstract query tree.
 boolean IndexFormatVersion.isAtLeast(IndexFormatVersion version)
          Returns true if this version is at least as high as the given version.
protected  void SearchIndex.mergeAggregatedNodeIndexes(NodeState state, org.apache.lucene.document.Document doc, IndexFormatVersion ifv)
          Merges the fulltext indexed fields of the aggregated node states into doc.
 void NodeIndexer.setIndexFormatVersion(IndexFormatVersion indexFormatVersion)
          Sets the index format version

Constructors in org.apache.jackrabbit.core.query.lucene with parameters of type IndexFormatVersion
LocalNameQuery(String localName, IndexFormatVersion version)
          Creates a new LocalNameQuery for the given localName.
LuceneQueryFactoryImpl(SessionImpl session, scs, HierarchyManager hmgr, NamespaceMappings nsMappings, org.apache.lucene.analysis.Analyzer analyzer, SynonymProvider synonymProvider, IndexFormatVersion version)
          Creates a new lucene query factory.
NameQuery(Name nodeName, IndexFormatVersion version, NamespaceMappings nsMappings)
          Creates a new NameQuery.
NameRangeQuery(Name lowerName, Name upperName, boolean inclusive, IndexFormatVersion version, NamespaceMappings nsMappings)
          Creates a new NameRangeQuery.

Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.