test_class.declarator: oakCodec = new OakCodec()
test_class.modifier: private
test_class.original_string: private Codec oakCodec = new OakCodec();
test_class.type: Codec
test_class.var_name: oakCodec
test_class.declarator: root = INITIAL_CONTENT
test_class.modifier: private
test_class.original_string: private NodeState root = INITIAL_CONTENT;
test_class.type: NodeState
test_class.var_name: root
test_class.declarator: builder = root.builder()
test_class.modifier: private
test_class.original_string: private NodeBuilder builder = root.builder();
test_class.type: NodeBuilder
test_class.var_name: builder
test_class.declarator: testNodeTypeDefn = "[oak:TestMixA]\n" +
              "  mixin\n" +
              "\n" +
              "[oak:TestSuperType]\n" +
              "- * (UNDEFINED) multiple\n" +
              "\n" +
              "[oak:TestTypeA] > oak:TestSuperType\n" +
              "- * (UNDEFINED) multiple\n" +
              "\n" +
              "[oak:TestTypeB] > oak:TestSuperType, oak:TestMixA\n" +
              "- * (UNDEFINED) multiple"
test_class.original_string: String testNodeTypeDefn = "[oak:TestMixA]\n" +
              "  mixin\n" +
              "\n" +
              "[oak:TestSuperType]\n" +
              "- * (UNDEFINED) multiple\n" +
              "\n" +
              "[oak:TestTypeA] > oak:TestSuperType\n" +
              "- * (UNDEFINED) multiple\n" +
              "\n" +
              "[oak:TestTypeB] > oak:TestSuperType, oak:TestMixA\n" +
              "- * (UNDEFINED) multiple";
test_class.type: String
test_class.var_name: testNodeTypeDefn
test_class.file: oak-lucene/src/test/java/org/apache/jackrabbit/oak/plugins/index/lucene/LuceneIndexDefinitionTest.java
test_class.identifier: LuceneIndexDefinitionTest
test_case.body: @Test
      public void regexAllProps() {
          LuceneIndexDefinitionBuilder builder = new LuceneIndexDefinitionBuilder();
          builder.indexRule("nt:base").property("p");
          builder.indexRule("nt:base").property("all", FulltextIndexConstants.REGEX_ALL_PROPS, true);
  
          IndexDefinition def = IndexDefinition.newBuilder(root, builder.build(), "/foo").build();
          IndexingRule rule = def.getApplicableIndexingRule(root);
          assertNotNull(rule);
  
          PropertyDefinition pd = rule.getConfig("p");
          assertNotNull(pd);
          assertFalse(pd.isRegexp);
          assertFalse(pd.relative);
          assertEquals(0, pd.ancestors.length);
  
          pd = rule.getConfig("all");
          assertNotNull(pd);
          assertTrue(pd.isRegexp);
          assertFalse(pd.relative);
          assertEquals(0, pd.ancestors.length);
  
          assertThat(rule.getAggregate().getIncludes(), is(empty()));
          assertFalse(rule.getAggregate().hasNodeAggregates());
          List<Aggregate.Matcher> matchers = rule.getAggregate()
                  .createMatchers(new TestRoot("/"));
          assertThat(matchers, is(empty()));
          assertThat(def.getRelativeNodeNames(), is(empty()));
      }
test_case.class_method_signature: LuceneIndexDefinitionTest.regexAllProps()
test_case.full_signature: @Test public void regexAllProps()
test_case.identifier: regexAllProps
test_case.invocations: property indexRule property indexRule build newBuilder build getApplicableIndexingRule assertNotNull getConfig assertNotNull assertFalse assertFalse assertEquals getConfig assertNotNull assertTrue assertFalse assertEquals assertThat getIncludes getAggregate is empty assertFalse hasNodeAggregates getAggregate createMatchers getAggregate assertThat is empty assertThat getRelativeNodeNames is empty
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void regexAllProps()
focal_class.declarator: log = LoggerFactory.getLogger(LuceneIndexDefinition.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger log = LoggerFactory.getLogger(LuceneIndexDefinition.class);
focal_class.type: Logger
focal_class.var_name: log
focal_class.declarator: saveDirListing
focal_class.modifier: private final
focal_class.original_string: private final boolean saveDirListing;
focal_class.type: boolean
focal_class.var_name: saveDirListing
focal_class.declarator: analyzers
focal_class.modifier: private final
focal_class.original_string: private final Map<String, Analyzer> analyzers;
focal_class.type: Map<String, Analyzer>
focal_class.var_name: analyzers
focal_class.declarator: analyzer
focal_class.modifier: private final
focal_class.original_string: private final Analyzer analyzer;
focal_class.type: Analyzer
focal_class.var_name: analyzer
focal_class.declarator: codec
focal_class.modifier: private final
focal_class.original_string: private final Codec codec;
focal_class.type: Codec
focal_class.var_name: codec
focal_class.declarator: maxFieldLength
focal_class.modifier: private final
focal_class.original_string: private final int maxFieldLength;
focal_class.type: int
focal_class.var_name: maxFieldLength
focal_class.file: oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/LuceneIndexDefinition.java
focal_class.identifier: LuceneIndexDefinition
focal_class.class_method_signature: LuceneIndexDefinition.LuceneIndexDefinition(NodeState root, NodeState defn, String indexPath)
focal_class.full_signature: public  LuceneIndexDefinition(NodeState root, NodeState defn, String indexPath)
focal_class.identifier: LuceneIndexDefinition
focal_class.modifiers: public
focal_class.parameters: (NodeState root, NodeState defn, String indexPath)
focal_class.signature:  LuceneIndexDefinition(NodeState root, NodeState defn, String indexPath)
focal_class.class_method_signature: LuceneIndexDefinition.LuceneIndexDefinition(NodeState root, NodeState defn, IndexFormatVersion version, String uid, String indexPath)
focal_class.full_signature:   LuceneIndexDefinition(NodeState root, NodeState defn, IndexFormatVersion version, String uid, String indexPath)
focal_class.identifier: LuceneIndexDefinition
focal_class.parameters: (NodeState root, NodeState defn, IndexFormatVersion version, String uid, String indexPath)
focal_class.signature:  LuceneIndexDefinition(NodeState root, NodeState defn, IndexFormatVersion version, String uid, String indexPath)
focal_class.class_method_signature: LuceneIndexDefinition.newBuilder(NodeState root, NodeState defn, String indexPath)
focal_class.full_signature: public static Builder newBuilder(NodeState root, NodeState defn, String indexPath)
focal_class.identifier: newBuilder
focal_class.modifiers: public static
focal_class.parameters: (NodeState root, NodeState defn, String indexPath)
focal_class.return: Builder
focal_class.signature: Builder newBuilder(NodeState root, NodeState defn, String indexPath)
focal_class.class_method_signature: LuceneIndexDefinition.getDefaultFunctionName()
focal_class.full_signature: @Override protected String getDefaultFunctionName()
focal_class.identifier: getDefaultFunctionName
focal_class.modifiers: @Override protected
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getDefaultFunctionName()
focal_class.class_method_signature: LuceneIndexDefinition.getDefaultCostPerEntry(IndexFormatVersion version)
focal_class.full_signature: @Override protected double getDefaultCostPerEntry(IndexFormatVersion version)
focal_class.identifier: getDefaultCostPerEntry
focal_class.modifiers: @Override protected
focal_class.parameters: (IndexFormatVersion version)
focal_class.return: double
focal_class.signature: double getDefaultCostPerEntry(IndexFormatVersion version)
focal_class.class_method_signature: LuceneIndexDefinition.saveDirListing()
focal_class.full_signature: public boolean saveDirListing()
focal_class.identifier: saveDirListing
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean saveDirListing()
focal_class.class_method_signature: LuceneIndexDefinition.getCodec()
focal_class.full_signature: @Nullable public Codec getCodec()
focal_class.identifier: getCodec
focal_class.modifiers: @Nullable public
focal_class.parameters: ()
focal_class.return: Codec
focal_class.signature: Codec getCodec()
focal_class.class_method_signature: LuceneIndexDefinition.getMergePolicy()
focal_class.full_signature: @NotNull public MergePolicy getMergePolicy()
focal_class.identifier: getMergePolicy
focal_class.modifiers: @NotNull public
focal_class.parameters: ()
focal_class.return: MergePolicy
focal_class.signature: MergePolicy getMergePolicy()
focal_class.class_method_signature: LuceneIndexDefinition.getAnalyzer()
focal_class.full_signature: public Analyzer getAnalyzer()
focal_class.identifier: getAnalyzer
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Analyzer
focal_class.signature: Analyzer getAnalyzer()
focal_class.class_method_signature: LuceneIndexDefinition.createAnalyzer()
focal_class.full_signature: private Analyzer createAnalyzer()
focal_class.identifier: createAnalyzer
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: Analyzer
focal_class.signature: Analyzer createAnalyzer()
focal_class.class_method_signature: LuceneIndexDefinition.collectAnalyzers(NodeState defn)
focal_class.full_signature: private static Map<String, Analyzer> collectAnalyzers(NodeState defn)
focal_class.identifier: collectAnalyzers
focal_class.modifiers: private static
focal_class.parameters: (NodeState defn)
focal_class.return: Map<String, Analyzer>
focal_class.signature: Map<String, Analyzer> collectAnalyzers(NodeState defn)
focal_class.class_method_signature: LuceneIndexDefinition.createCodec()
focal_class.full_signature: private Codec createCodec()
focal_class.identifier: createCodec
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: Codec
focal_class.signature: Codec createCodec()
focal_class.class_method_signature: LuceneIndexDefinition.createMergePolicy()
focal_class.full_signature: private MergePolicy createMergePolicy()
focal_class.identifier: createMergePolicy
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: MergePolicy
focal_class.signature: MergePolicy createMergePolicy()
focal_class.superclass: extends IndexDefinition
focal_method.body: public static Builder newBuilder(NodeState root, NodeState defn, String indexPath){
          return (Builder)new Builder()
                  .root(root)
                  .defn(defn)
                  .indexPath(indexPath);
      }
focal_method.class_method_signature: LuceneIndexDefinition.newBuilder(NodeState root, NodeState defn, String indexPath)
focal_method.full_signature: public static Builder newBuilder(NodeState root, NodeState defn, String indexPath)
focal_method.identifier: newBuilder
focal_method.invocations: indexPath defn root
focal_method.modifiers: public static
focal_method.parameters: (NodeState root, NodeState defn, String indexPath)
focal_method.return: Builder
focal_method.signature: Builder newBuilder(NodeState root, NodeState defn, String indexPath)