org.apache.lucene.codecs.SegmentInfoFormat Java Examples

The following examples show how to use org.apache.lucene.codecs.SegmentInfoFormat. 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: TestLucene70SegmentInfoFormat.java    From lucene-solr with Apache License 2.0 5 votes vote down vote up
@Override
protected Codec getCodec() {
  return new FilterCodec("Lucene84", Codec.forName("Lucene84")) {
    @Override
    public SegmentInfoFormat segmentInfoFormat() {
      return new Lucene70RWSegmentInfoFormat();
    }
  };
}
 
Example #2
Source File: SimpleTextCodec.java    From lucene-solr with Apache License 2.0 4 votes vote down vote up
@Override
public SegmentInfoFormat segmentInfoFormat() {
  return segmentInfos;
}
 
Example #3
Source File: CrankyCodec.java    From lucene-solr with Apache License 2.0 4 votes vote down vote up
@Override
public SegmentInfoFormat segmentInfoFormat() {
  return new CrankySegmentInfoFormat(delegate.segmentInfoFormat(), random);
}
 
Example #4
Source File: CrankySegmentInfoFormat.java    From lucene-solr with Apache License 2.0 4 votes vote down vote up
CrankySegmentInfoFormat(SegmentInfoFormat delegate, Random random) {
  this.delegate = delegate;
  this.random = random;
}
 
Example #5
Source File: Lucene86Codec.java    From lucene-solr with Apache License 2.0 4 votes vote down vote up
@Override
public final SegmentInfoFormat segmentInfoFormat() {
  return segmentInfosFormat;
}
 
Example #6
Source File: Lucene80Codec.java    From lucene-solr with Apache License 2.0 4 votes vote down vote up
@Override
public final SegmentInfoFormat segmentInfoFormat() {
  return segmentInfosFormat;
}
 
Example #7
Source File: Lucene84Codec.java    From lucene-solr with Apache License 2.0 4 votes vote down vote up
@Override
public SegmentInfoFormat segmentInfoFormat() {
  return segmentInfosFormat;
}
 
Example #8
Source File: Lucene84RWCodec.java    From lucene-solr with Apache License 2.0 4 votes vote down vote up
@Override
public SegmentInfoFormat segmentInfoFormat() {
  return new Lucene70RWSegmentInfoFormat();
}
 
Example #9
Source File: MtasCodec.java    From mtas with Apache License 2.0 4 votes vote down vote up
@Override
public SegmentInfoFormat segmentInfoFormat() {
  initDelegate();
  return delegate.segmentInfoFormat();
}
 
Example #10
Source File: Blur021Codec.java    From incubator-retired-blur with Apache License 2.0 4 votes vote down vote up
@Override
public final SegmentInfoFormat segmentInfoFormat() {
  return infosFormat;
}
 
Example #11
Source File: Blur022Codec.java    From incubator-retired-blur with Apache License 2.0 4 votes vote down vote up
@Override
public final SegmentInfoFormat segmentInfoFormat() {
  return infosFormat;
}
 
Example #12
Source File: Blur024Codec.java    From incubator-retired-blur with Apache License 2.0 4 votes vote down vote up
@Override
public final SegmentInfoFormat segmentInfoFormat() {
  return infosFormat;
}