test_class.declarator: folder = new TemporaryFolder(new File("target"))
test_class.modifier: @Rule
      public
test_class.original_string: @Rule
      public TemporaryFolder folder = new TemporaryFolder(new File("target"));
test_class.type: TemporaryFolder
test_class.var_name: folder
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 = EMPTY_NODE.builder()
test_class.modifier: private
test_class.original_string: private NodeBuilder builder = EMPTY_NODE.builder();
test_class.type: NodeBuilder
test_class.var_name: builder
test_class.declarator: defn = new LuceneIndexDefinition(root, builder.getNodeState(), "/foo")
test_class.modifier: private
test_class.original_string: private LuceneIndexDefinition defn = new LuceneIndexDefinition(root, builder.getNodeState(), "/foo");
test_class.type: LuceneIndexDefinition
test_class.var_name: defn
test_class.declarator: mip = Mounts.newBuilder()
              .mount("foo", "/libs", "/apps").build()
test_class.modifier: private
test_class.original_string: private MountInfoProvider mip = Mounts.newBuilder()
              .mount("foo", "/libs", "/apps").build();
test_class.type: MountInfoProvider
test_class.var_name: mip
test_class.declarator: writerConfig = new LuceneIndexWriterConfig()
test_class.modifier: private
test_class.original_string: private LuceneIndexWriterConfig writerConfig = new LuceneIndexWriterConfig();
test_class.type: LuceneIndexWriterConfig
test_class.var_name: writerConfig
test_class.file: oak-lucene/src/test/java/org/apache/jackrabbit/oak/plugins/index/lucene/reader/DefaultIndexReaderFactoryTest.java
test_class.identifier: DefaultIndexReaderFactoryTest
test_case.body: @Test
      public void multipleReaders() throws Exception{
          LuceneIndexWriterFactory factory = newDirectoryFactory();
          LuceneIndexWriter writer = factory.newInstance(defn, builder, null, true);
  
          writer.updateDocument("/content/en", newDoc("/content/en"));
          writer.updateDocument("/libs/config", newDoc("/libs/config"));
          writer.close(0);
  
          LuceneIndexReaderFactory readerFactory = new DefaultIndexReaderFactory(mip, null);
          List<LuceneIndexReader> readers = readerFactory.createReaders(defn, builder.getNodeState(),"/foo");
          assertEquals(2, readers.size());
      }
test_case.class_method_signature: DefaultIndexReaderFactoryTest.multipleReaders()
test_case.full_signature: @Test public void multipleReaders()
test_case.identifier: multipleReaders
test_case.invocations: newDirectoryFactory newInstance updateDocument newDoc updateDocument newDoc close createReaders getNodeState assertEquals size
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void multipleReaders()
focal_class.declarator: cloner
focal_class.modifier: private final
focal_class.original_string: private final IndexCopier cloner;
focal_class.type: IndexCopier
focal_class.var_name: cloner
focal_class.declarator: mountInfoProvider
focal_class.modifier: private final
focal_class.original_string: private final MountInfoProvider mountInfoProvider;
focal_class.type: MountInfoProvider
focal_class.var_name: mountInfoProvider
focal_class.file: oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/reader/DefaultIndexReaderFactory.java
focal_class.identifier: DefaultIndexReaderFactory
focal_class.interfaces: implements LuceneIndexReaderFactory
focal_class.class_method_signature: DefaultIndexReaderFactory.DefaultIndexReaderFactory(MountInfoProvider mountInfoProvider, @Nullable IndexCopier cloner)
focal_class.full_signature: public  DefaultIndexReaderFactory(MountInfoProvider mountInfoProvider, @Nullable IndexCopier cloner)
focal_class.identifier: DefaultIndexReaderFactory
focal_class.modifiers: public
focal_class.parameters: (MountInfoProvider mountInfoProvider, @Nullable IndexCopier cloner)
focal_class.signature:  DefaultIndexReaderFactory(MountInfoProvider mountInfoProvider, @Nullable IndexCopier cloner)
focal_class.class_method_signature: DefaultIndexReaderFactory.createReaders(LuceneIndexDefinition definition, NodeState defnState,
                                                   String indexPath)
focal_class.full_signature: @Override public List<LuceneIndexReader> createReaders(LuceneIndexDefinition definition, NodeState defnState,
                                                   String indexPath)
focal_class.identifier: createReaders
focal_class.modifiers: @Override public
focal_class.parameters: (LuceneIndexDefinition definition, NodeState defnState,
                                                   String indexPath)
focal_class.return: List<LuceneIndexReader>
focal_class.signature: List<LuceneIndexReader> createReaders(LuceneIndexDefinition definition, NodeState defnState,
                                                   String indexPath)
focal_class.class_method_signature: DefaultIndexReaderFactory.createMountedReaders(LuceneIndexDefinition definition, NodeState defnState, String
              indexPath)
focal_class.full_signature: private List<LuceneIndexReader> createMountedReaders(LuceneIndexDefinition definition, NodeState defnState, String
              indexPath)
focal_class.identifier: createMountedReaders
focal_class.modifiers: private
focal_class.parameters: (LuceneIndexDefinition definition, NodeState defnState, String
              indexPath)
focal_class.return: List<LuceneIndexReader>
focal_class.signature: List<LuceneIndexReader> createMountedReaders(LuceneIndexDefinition definition, NodeState defnState, String
              indexPath)
focal_class.class_method_signature: DefaultIndexReaderFactory.createReader(Mount mount, LuceneIndexDefinition definition, NodeState defnNodeState,
                                             String indexPath)
focal_class.full_signature: @Nullable private LuceneIndexReader createReader(Mount mount, LuceneIndexDefinition definition, NodeState defnNodeState,
                                             String indexPath)
focal_class.identifier: createReader
focal_class.modifiers: @Nullable private
focal_class.parameters: (Mount mount, LuceneIndexDefinition definition, NodeState defnNodeState,
                                             String indexPath)
focal_class.return: LuceneIndexReader
focal_class.signature: LuceneIndexReader createReader(Mount mount, LuceneIndexDefinition definition, NodeState defnNodeState,
                                             String indexPath)
focal_class.class_method_signature: DefaultIndexReaderFactory.createReader(LuceneIndexDefinition definition, NodeState defnNodeState, String indexPath,
                                             String indexDataNodeName, String suggestDataNodeName)
focal_class.full_signature: @Nullable private LuceneIndexReader createReader(LuceneIndexDefinition definition, NodeState defnNodeState, String indexPath,
                                             String indexDataNodeName, String suggestDataNodeName)
focal_class.identifier: createReader
focal_class.modifiers: @Nullable private
focal_class.parameters: (LuceneIndexDefinition definition, NodeState defnNodeState, String indexPath,
                                             String indexDataNodeName, String suggestDataNodeName)
focal_class.return: LuceneIndexReader
focal_class.signature: LuceneIndexReader createReader(LuceneIndexDefinition definition, NodeState defnNodeState, String indexPath,
                                             String indexDataNodeName, String suggestDataNodeName)
focal_class.class_method_signature: DefaultIndexReaderFactory.getMountInfoProvider()
focal_class.full_signature: @Override public MountInfoProvider getMountInfoProvider()
focal_class.identifier: getMountInfoProvider
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: MountInfoProvider
focal_class.signature: MountInfoProvider getMountInfoProvider()
focal_method.body: @Override
      public List<LuceneIndexReader> createReaders(LuceneIndexDefinition definition, NodeState defnState,
                                                   String indexPath) throws IOException {
          if (!mountInfoProvider.hasNonDefaultMounts()) {
              LuceneIndexReader reader = createReader(definition, defnState, indexPath,
                      FulltextIndexConstants.INDEX_DATA_CHILD_NAME, SUGGEST_DATA_CHILD_NAME);
              return reader != null ? ImmutableList.of(reader) : Collections.<LuceneIndexReader>emptyList();
          } else {
              return createMountedReaders(definition, defnState, indexPath);
          }
      }
focal_method.class_method_signature: DefaultIndexReaderFactory.createReaders(LuceneIndexDefinition definition, NodeState defnState,
                                                   String indexPath)
focal_method.full_signature: @Override public List<LuceneIndexReader> createReaders(LuceneIndexDefinition definition, NodeState defnState,
                                                   String indexPath)
focal_method.identifier: createReaders
focal_method.invocations: hasNonDefaultMounts createReader of emptyList createMountedReaders
focal_method.modifiers: @Override public
focal_method.parameters: (LuceneIndexDefinition definition, NodeState defnState,
                                                   String indexPath)
focal_method.return: List<LuceneIndexReader>
focal_method.signature: List<LuceneIndexReader> createReaders(LuceneIndexDefinition definition, NodeState defnState,
                                                   String indexPath)