| Package | Description | 
|---|---|
| org.apache.jackrabbit.core.query.lucene | |
| org.apache.jackrabbit.core.query.lucene.join | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractNamespaceMappingsAbstractNamespaceMappingsis the base class for index internal
 namespace mappings. | 
| class  | FileBasedNamespaceMappingsThe class  NamespaceMappingsimplements aNamespaceResolverthat holds a namespace
 mapping that is used internally in the search index. | 
| class  | NSRegistryBasedNamespaceMappingsNSRegistryBasedNamespaceMappingsimplements a namespace mapping
 based on the stable index prefix provided by the namespace registry. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected NamespaceMappings | NodeIndexer. mappingsNamespace mappings to use for indexing. | 
| protected NamespaceMappings | LuceneQueryFactory. nsMappingsNamespace 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  Documentfor a node state using the
 namespace mappingsnsMappings. | 
| 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  Querytree 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  SharedFieldComparatorSourcefor 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–2024 The Apache Software Foundation. All rights reserved.