Searched defs:open (Results 1 - 22 of 22) sorted by relevance

/lucene-3.6.0/solr/core/src/java/org/apache/solr/core/
H A DNIOFSDirectoryFactory.java33 public Directory open(String path) throws IOException { method in class:NIOFSDirectoryFactory
H A DSimpleFSDirectoryFactory.java33 public Directory open(String path) throws IOException { method in class:SimpleFSDirectoryFactory
H A DStandardDirectoryFactory.java32 public Directory open(String path) throws IOException { method in class:StandardDirectoryFactory
33 return FSDirectory.open(new File(path));
H A DDirectoryFactory.java37 public abstract Directory open(String path) throws IOException; method in class:DirectoryFactory
H A DRAMDirectoryFactory.java34 public Directory open(String path) throws IOException { method in class:RAMDirectoryFactory
68 Directory dir = super.open(path);
H A DMMapDirectoryFactory.java32 * Directly provide MMapDirectory instead of relying on {@link org.apache.lucene.store.FSDirectory#open}
47 public Directory open(String path) throws IOException { method in class:MMapDirectoryFactory
H A DSolrCore.java329 return new SolrIndexSearcher(this, schema, name, directoryFactory.open(getIndexDir()), readOnly, false);
656 final void open() { method in class:SolrCore
929 // All of the open searchers. Don't access this directly.
958 * If no searcher is currently open, then if openNew==true a new searcher will be opened,
1011 * @param forceNew if true, force the open of a new index searcher regardless if there is already one open.
1017 // it may take some time to open an index.... we may need to make
1018 // sure that two threads aren't trying to open one at the same time
1051 // At this point, we know we need to open a new searcher...
1070 // open th
[all...]
/lucene-3.6.0/solr/test-framework/src/java/org/apache/solr/core/
H A DMockDirectoryFactory.java33 public Directory open(String path) throws IOException { method in class:MockDirectoryFactory
/lucene-3.6.0/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/
H A DDIHCache.java40 public void open(Context context); method in interface:DIHCache
59 * Closes the cache, if open. Then removes all data, possibly removing the
H A DSortedMapBackedCache.java68 "Must call open() before using this cache.");
71 throw new IllegalStateException("The cache is already open.");
184 public void open(Context context) { method in class:SortedMapBackedCache
/lucene-3.6.0/solr/core/src/test/org/apache/solr/core/
H A DAlternateDirectoryTest.java52 public Directory open(String path) throws IOException { method in class:AlternateDirectoryTest.TestFSDirectoryFactory
71 return IndexReader.open(indexDir, readOnly);
/lucene-3.6.0/lucene/contrib/misc/src/java/org/apache/lucene/store/
H A DWindowsDirectory.java85 fd = WindowsDirectory.open(file.getPath());
133 private static native long open(String filename) throws IOException; method in class:WindowsDirectory
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/util/
H A DLineFileDocs.java48 open(random);
62 private synchronized void open(Random random) throws IOException { method in class:LineFileDocs
94 System.out.println("TEST: LineFileDocs: seek to fp=" + seekTo + " on open");
103 open(random);
150 open(null);
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/util/
H A DLineFileDocs.java48 open(random);
62 private synchronized void open(Random random) throws IOException { method in class:LineFileDocs
94 System.out.println("TEST: LineFileDocs: seek to fp=" + seekTo + " on open");
103 open(random);
150 open(null);
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/facet/taxonomy/writercache/cl2o/
H A DCharBlockArray.java182 public static CharBlockArray open(InputStream in) throws IOException, ClassNotFoundException { method in class:CharBlockArray
H A DCompactLabelToOrdinal.java452 static CompactLabelToOrdinal open(File file, float loadFactor, method in class:CompactLabelToOrdinal
479 l2o.labelRepository = CharBlockArray.open(dis);
/lucene-3.6.0/lucene/contrib/xml-query-parser/docs/
H A Dcctree.js26 // - Supports a concept of an "always open" node.
115 indent = this.imageTag("plusbottom.gif","open");
126 indent = this.imageTag("plus.gif","open");
185 if (action == "open") href="CCTree.trees[" + this.treeId + "].openNode('" + this.id + "')";
208 _CCDisplayNode.prototype.open = function()
270 this.allDisplayNodes[displayNodeId].open();
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/store/
H A DFSDirectory.java99 * added the {@link #open} method, to allow Lucene to choose
104 * #open}. For all others, you should instantiate the
171 public static FSDirectory open(File path) throws IOException { method in class:FSDirectory
172 return open(path, null);
175 /** Just like {@link #open(File)}, but allows you to
177 public static FSDirectory open(File path, LockFactory lockFactory) throws IOException { method in class:FSDirectory
404 * this before attempting to open an index on the
436 private volatile boolean isOpen; // remember if the file is open, so that we don't try to close it more than once
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/
H A DIndexReader.java41 one of the static <code>open()</code> methods, e.g. {@link
42 #open(Directory, boolean)}.
63 <b>NOTE</b>: as of 2.4, it's possible to open a read-only
64 IndexReader using the static open methods that accept the
255 public static IndexReader open(final Directory directory) throws CorruptIndexException, IOException { method in class:IndexReader
256 return DirectoryReader.open(directory, null, null, true, DEFAULT_TERMS_INDEX_DIVISOR);
269 * Use {@link #open(Directory)} instead
272 public static IndexReader open(final Directory directory, boolean readOnly) throws CorruptIndexException, IOException { method in class:IndexReader
273 return DirectoryReader.open(directory, null, null, readOnly, DEFAULT_TERMS_INDEX_DIVISOR);
279 * @param writer The IndexWriter to open fro
295 public static IndexReader open(final IndexWriter writer, boolean applyAllDeletes) throws CorruptIndexException, IOException { method in class:IndexReader
305 public static IndexReader open(final IndexCommit commit) throws CorruptIndexException, IOException { method in class:IndexReader
322 public static IndexReader open(final IndexCommit commit, boolean readOnly) throws CorruptIndexException, IOException { method in class:IndexReader
343 public static IndexReader open(final Directory directory, IndexDeletionPolicy deletionPolicy, boolean readOnly) throws CorruptIndexException, IOException { method in class:IndexReader
374 public static IndexReader open(final Directory directory, IndexDeletionPolicy deletionPolicy, boolean readOnly, int termInfosIndexDivisor) throws CorruptIndexException, IOException { method in class:IndexReader
397 public static IndexReader open(final IndexCommit commit, IndexDeletionPolicy deletionPolicy, boolean readOnly) throws CorruptIndexException, IOException { method in class:IndexReader
433 public static IndexReader open(final IndexCommit commit, IndexDeletionPolicy deletionPolicy, boolean readOnly, int termInfosIndexDivisor) throws CorruptIndexException, IOException { method in class:IndexReader
453 public static IndexReader open(final Directory directory, int termInfosIndexDivisor) throws CorruptIndexException, IOException { method in class:IndexReader
473 public static IndexReader open(final IndexCommit commit, int termInfosIndexDivisor) throws CorruptIndexException, IOException { method in class:IndexReader
[all...]
H A DDirectoryReader.java70 static IndexReader open(final Directory directory, final IndexDeletionPolicy deletionPolicy, final IndexCommit commit, final boolean readOnly, method in class:DirectoryReader
96 // (and having to retry), we open segments in
751 * if another writer has this index open (<code>write.lock</code> could not be
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/store/
H A DMockDirectoryWrapper.java51 * it has any open files against it (with a stacktrace indicating where
56 * refusing to write/delete to open files.
83 // additionally: provides debugging information in case you leave one open
93 // is made to delete an open file, we enroll it here.
303 * Emulate windows whereby deleting an open file is not
390 throw fillOpenTrace(new IOException("MockDirectoryWrapper: file \"" + name + "\" is still open: cannot delete"), name, true);
422 throw new IOException("MockDirectoryWrapper: file \"" + name + "\" is still open: cannot overwrite");
490 // cannot open a file for input if it's still open for
493 throw fillOpenTrace(new IOException("MockDirectoryWrapper: file \"" + name + "\" is still open fo
637 boolean open = true; field in class:MockDirectoryWrapper
[all...]
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/store/
H A DMockDirectoryWrapper.java48 * it has any open files against it (with a stacktrace indicating where
53 * refusing to write/delete to open files.
80 // additionally: provides debugging information in case you leave one open
90 // is made to delete an open file, we enroll it here.
259 * Emulate windows whereby deleting an open file is not
346 throw fillOpenTrace(new IOException("MockDirectoryWrapper: file \"" + name + "\" is still open: cannot delete"), name, true);
378 throw new IOException("MockDirectoryWrapper: file \"" + name + "\" is still open: cannot overwrite");
446 // cannot open a file for input if it's still open for
449 throw fillOpenTrace(new IOException("MockDirectoryWrapper: file \"" + name + "\" is still open fo
538 boolean open = true; field in class:MockDirectoryWrapper
[all...]

Completed in 74 milliseconds