本文整理汇总了Java中org.apache.lucene.store.IndexInput.clone方法的典型用法代码示例。如果您正苦于以下问题:Java IndexInput.clone方法的具体用法?Java IndexInput.clone怎么用?Java IndexInput.clone使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.apache.lucene.store.IndexInput
的用法示例。
在下文中一共展示了IndexInput.clone方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: SegmentTermDocs
import org.apache.lucene.store.IndexInput; //导入方法依赖的package包/类
public SegmentTermDocs(IndexInput freqStream, TermInfosReader tis, FieldInfos fieldInfos) {
this.freqStream = freqStream.clone();
this.tis = tis;
this.fieldInfos = fieldInfos;
skipInterval = tis.getSkipInterval();
maxSkipLevels = tis.getMaxSkipLevels();
}
示例2: SegmentDocsEnumBase
import org.apache.lucene.store.IndexInput; //导入方法依赖的package包/类
SegmentDocsEnumBase(IndexInput startFreqIn, Bits liveDocs) {
this.startFreqIn = startFreqIn;
this.freqIn = startFreqIn.clone();
this.liveDocs = liveDocs;
}
示例3: SegmentDocsAndPositionsEnum
import org.apache.lucene.store.IndexInput; //导入方法依赖的package包/类
public SegmentDocsAndPositionsEnum(IndexInput freqIn, IndexInput proxIn) {
startFreqIn = freqIn;
this.freqIn = freqIn.clone();
this.proxIn = proxIn.clone();
}
示例4: SegmentFullPositionsEnum
import org.apache.lucene.store.IndexInput; //导入方法依赖的package包/类
public SegmentFullPositionsEnum(IndexInput freqIn, IndexInput proxIn) {
startFreqIn = freqIn;
this.freqIn = freqIn.clone();
this.proxIn = proxIn.clone();
}