| Package | Description | 
|---|---|
| org.apache.jackrabbit.core.query.lucene | |
| org.apache.jackrabbit.core.query.lucene.join | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
AbstractNamespaceMappings
AbstractNamespaceMappings is the base class for index internal
 namespace mappings. | 
class  | 
FileBasedNamespaceMappings
The class  
NamespaceMappings implements a
 NamespaceResolver that holds a namespace
 mapping that is used internally in the search index. | 
class  | 
NSRegistryBasedNamespaceMappings
NSRegistryBasedNamespaceMappings implements a namespace mapping
 based on the stable index prefix provided by the namespace registry. | 
| Modifier and Type | Field and Description | 
|---|---|
protected NamespaceMappings | 
NodeIndexer.mappings
Namespace mappings to use for indexing. 
 | 
protected NamespaceMappings | 
LuceneQueryFactory.nsMappings
Namespace mappings to internal prefixes 
 | 
| Modifier and Type | Method and Description | 
|---|---|
NamespaceMappings | 
SearchIndex.getNamespaceMappings()
Returns the namespace mappings for the internal representation. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static NamePathResolver | 
NamePathResolverImpl.create(NamespaceMappings nsMappings)  | 
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. | 
protected IndexingConfiguration | 
SearchIndex.createIndexingConfiguration(NamespaceMappings namespaceMappings)  | 
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 lucene  
Query tree from an
 abstract query tree. | 
static Ordering | 
Ordering.fromQOM(OrderingImpl ordering,
       SharedFieldComparatorSource scs,
       NamespaceMappings nsMappings)
Creates an ordering from a JCR QOM ordering. 
 | 
void | 
IndexingConfigurationImpl.init(Element config,
    QueryHandlerContext context,
    NamespaceMappings nsMappings)
Initializes the configuration. 
 | 
void | 
IndexingConfiguration.init(Element config,
    QueryHandlerContext context,
    NamespaceMappings namespaceMappings)
Initializes the configuration. 
 | 
| Constructor and Description | 
|---|
JoinQuery(MultiColumnQuery left,
         MultiColumnQuery right,
         JoinType joinType,
         JoinConditionImpl joinCondition,
         NamespaceMappings nsMappings,
         HierarchyManager hmgr)
Creates a new join query. 
 | 
LengthSortComparator(NamespaceMappings nsMappings)  | 
NameQuery(Name nodeName,
         IndexFormatVersion version,
         NamespaceMappings nsMappings)
Creates a new  
NameQuery. | 
NameRangeQuery(Name lowerName,
              Name upperName,
              boolean inclusive,
              IndexFormatVersion version,
              NamespaceMappings nsMappings,
              org.apache.jackrabbit.core.query.lucene.PerQueryCache cache)
Creates a new NameRangeQuery. 
 | 
NodeIndexer(NodeState node,
           ItemStateManager stateProvider,
           NamespaceMappings mappings,
           Executor executor,
           org.apache.tika.parser.Parser parser)
Creates a new node indexer. 
 | 
SharedFieldComparatorSource(String fieldname,
                           ItemStateManager ism,
                           HierarchyManager hmgr,
                           NamespaceMappings nsMappings)
Create a new  
SharedFieldComparatorSource for a given shared field. | 
WildcardNameQuery(String pattern,
                 int transform,
                 NamespaceResolver resolver,
                 NamespaceMappings nsMappings,
                 org.apache.jackrabbit.core.query.lucene.PerQueryCache cache)  | 
| Modifier and Type | Method and Description | 
|---|---|
static Join | 
Join.create(MultiColumnQueryHits left,
      MultiColumnQueryHits right,
      JoinType joinType,
      JoinConditionImpl condition,
      org.apache.lucene.index.IndexReader reader,
      HierarchyResolver resolver,
      NamespaceMappings nsMappings,
      HierarchyManager hmgr)
Creates a new join result. 
 | 
| Constructor and Description | 
|---|
EquiJoin(MultiColumnQueryHits inner,
        int innerScoreNodeIndex,
        NamespaceMappings nsMappings,
        org.apache.lucene.index.IndexReader reader,
        Name innerProperty,
        Name outerProperty)
Creates a new equi join condition. 
 | 
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.