本文整理汇总了Java中org.apache.lucene.codecs.SegmentInfoFormat类的典型用法代码示例。如果您正苦于以下问题:Java SegmentInfoFormat类的具体用法?Java SegmentInfoFormat怎么用?Java SegmentInfoFormat使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
SegmentInfoFormat类属于org.apache.lucene.codecs包,在下文中一共展示了SegmentInfoFormat类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: segmentInfoFormat
import org.apache.lucene.codecs.SegmentInfoFormat; //导入依赖的package包/类
@Override
public SegmentInfoFormat segmentInfoFormat() {
if (LuceneTestCase.OLD_FORMAT_IMPERSONATION_IS_ACTIVE) {
return segmentInfos ;
} else {
return super.segmentInfoFormat();
}
}
示例2: segmentInfoFormat
import org.apache.lucene.codecs.SegmentInfoFormat; //导入依赖的package包/类
@Override
public SegmentInfoFormat segmentInfoFormat() {
if (LuceneTestCase.PREFLEX_IMPERSONATION_IS_ACTIVE) {
return segmentInfos ;
} else {
return super.segmentInfoFormat();
}
}
示例3: segmentInfoFormat
import org.apache.lucene.codecs.SegmentInfoFormat; //导入依赖的package包/类
@Override
public SegmentInfoFormat segmentInfoFormat() {
return infosFormat;
}
示例4: segmentInfoFormat
import org.apache.lucene.codecs.SegmentInfoFormat; //导入依赖的package包/类
@Override
public final SegmentInfoFormat segmentInfoFormat() {
return segmentInfosFormat;
}
示例5: segmentInfoFormat
import org.apache.lucene.codecs.SegmentInfoFormat; //导入依赖的package包/类
@Override
public SegmentInfoFormat segmentInfoFormat() {
return segmentInfos;
}
示例6: segmentInfoFormat
import org.apache.lucene.codecs.SegmentInfoFormat; //导入依赖的package包/类
@Override
public SegmentInfoFormat segmentInfoFormat() {
return new CrankySegmentInfoFormat(delegate.segmentInfoFormat(), random);
}
示例7: CrankySegmentInfoFormat
import org.apache.lucene.codecs.SegmentInfoFormat; //导入依赖的package包/类
CrankySegmentInfoFormat(SegmentInfoFormat delegate, Random random) {
this.delegate = delegate;
this.random = random;
}
示例8: segmentInfoFormat
import org.apache.lucene.codecs.SegmentInfoFormat; //导入依赖的package包/类
@Override
public final SegmentInfoFormat segmentInfoFormat() {
return infosFormat;
}