org.apache.lucene.store.BufferedIndexInput Java Examples

The following examples show how to use org.apache.lucene.store.BufferedIndexInput. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: TermInfosReader.java    From alfresco-repository with GNU Lesser General Public License v3.0 4 votes vote down vote up
TermInfosReader(Directory dir, String seg, FieldInfos fis)
     throws CorruptIndexException, IOException {
  this(dir, seg, fis, BufferedIndexInput.BUFFER_SIZE);
}
 
Example #2
Source File: LZFCompressedIndexInput.java    From Elasticsearch with Apache License 2.0 4 votes vote down vote up
@Override
public IndexInput slice(String description, long offset, long length) throws IOException {
    return BufferedIndexInput.wrap(description, this, offset, length);
}
 
Example #3
Source File: TestFieldsReader.java    From lucene-solr with Apache License 2.0 4 votes vote down vote up
private FaultyIndexInput(AtomicBoolean doFail, IndexInput delegate) {
  super("FaultyIndexInput(" + delegate + ")", BufferedIndexInput.BUFFER_SIZE);
  this.delegate = delegate;
  this.doFail = doFail;
}
 
Example #4
Source File: CustomBufferedIndexInput.java    From lucene-solr with Apache License 2.0 4 votes vote down vote up
@Override
public IndexInput slice(String sliceDescription, long offset, long length) throws IOException {
  return BufferedIndexInput.wrap(sliceDescription, this, offset, length);
}
 
Example #5
Source File: CustomBufferedIndexInput.java    From clue with Apache License 2.0 4 votes vote down vote up
@Override
public IndexInput slice(String sliceDescription, long offset, long length) throws IOException {
  return BufferedIndexInput.wrap(sliceDescription, this, offset, length);
}