本文整理了Java中proj.zoie.impl.indexing.ZoieConfig.getMaxBatchSize()
方法的一些代码示例,展示了ZoieConfig.getMaxBatchSize()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZoieConfig.getMaxBatchSize()
方法的具体详情如下:
包路径:proj.zoie.impl.indexing.ZoieConfig
类名称:ZoieConfig
方法名:getMaxBatchSize
暂无
代码示例来源:origin: senseidb/zoie
/**
* Creates a new ZoieSystem.
*
* @param dirMgr
* Directory manager, mandatory.
* @param interpreter
* data interpreter, mandatory.
* @param indexReaderDecorator
* index reader decorator,optional. If not specified,
* {@link proj.zoie.impl.indexing.DefaultIndexReaderDecorator} is
* used.
* @param zoieConfig
* configuration object
*/
@SuppressWarnings({ "deprecation", "unchecked" })
public ZoieSystem(DirectoryManager dirMgr, ZoieIndexableInterpreter<D> interpreter,
IndexReaderDecorator<R> indexReaderDecorator, ZoieConfig zoieConfig) {
this(dirMgr, interpreter, indexReaderDecorator, zoieConfig.getDocidMapperFactory(), zoieConfig
.getAnalyzer(), zoieConfig.getSimilarity(), zoieConfig.getBatchSize(), zoieConfig
.getBatchDelay(), zoieConfig.isRtIndexing(), zoieConfig.getMaxBatchSize(), zoieConfig
.getReadercachefactory(), (RAMIndexFactory<R>) zoieConfig.getRamIndexFactory(), zoieConfig
.getVersionComparator(), zoieConfig.isSkipBadRecord());
readercache.setFreshness(zoieConfig.getFreshness());
}
代码示例来源:origin: com.linkedin.zoie/zoie-core
/**
* Creates a new ZoieSystem.
*
* @param dirMgr
* Directory manager, mandatory.
* @param interpreter
* data interpreter, mandatory.
* @param indexReaderDecorator
* index reader decorator,optional. If not specified,
* {@link proj.zoie.impl.indexing.DefaultIndexReaderDecorator} is
* used.
* @param zoieConfig
* configuration object
*/
public ZoieSystem(DirectoryManager dirMgr,
ZoieIndexableInterpreter<D> interpreter,
IndexReaderDecorator<R> indexReaderDecorator, ZoieConfig zoieConfig)
{
this(dirMgr, interpreter, indexReaderDecorator, zoieConfig
.getDocidMapperFactory(), zoieConfig.getAnalyzer(), zoieConfig
.getSimilarity(), zoieConfig.getBatchSize(),
zoieConfig.getBatchDelay(), zoieConfig.isRtIndexing(), zoieConfig
.getMaxBatchSize(), zoieConfig.getReadercachefactory(),
(RAMIndexFactory<R>)zoieConfig.getRamIndexFactory(),zoieConfig.getVersionComparator(),
zoieConfig.isSkipBadRecord());
readercache.setFreshness(zoieConfig.getFreshness());
}
代码示例来源:origin: senseidb/zoie
/**
* Creates a new ZoieSystem.
*
* @param idxDir
* index directory, mandatory.
* @param interpreter
* data interpreter, mandatory.
* @param indexReaderDecorator
* index reader decorator,optional. If not specified,
* {@link proj.zoie.impl.indexing.DefaultIndexReaderDecorator} is
* used.
* @param zoieConfig
* configuration object
*/
@SuppressWarnings({ "deprecation", "unchecked" })
public ZoieSystem(File idxDir, ZoieIndexableInterpreter<D> interpreter,
IndexReaderDecorator<R> indexReaderDecorator, ZoieConfig zoieConfig) {
this(new DefaultDirectoryManager(idxDir), interpreter, indexReaderDecorator, zoieConfig
.getDocidMapperFactory(), zoieConfig.getAnalyzer(), zoieConfig.getSimilarity(), zoieConfig
.getBatchSize(), zoieConfig.getBatchDelay(), zoieConfig.isRtIndexing(), zoieConfig
.getMaxBatchSize(), zoieConfig.getReadercachefactory(), (RAMIndexFactory<R>) zoieConfig
.getRamIndexFactory(), zoieConfig.getVersionComparator(), zoieConfig.isSkipBadRecord());
readercache.setFreshness(zoieConfig.getFreshness());
}
代码示例来源:origin: com.senseidb.zoie/zoie-core
/**
* Creates a new ZoieSystem.
*
* @param dirMgr
* Directory manager, mandatory.
* @param interpreter
* data interpreter, mandatory.
* @param indexReaderDecorator
* index reader decorator,optional. If not specified,
* {@link proj.zoie.impl.indexing.DefaultIndexReaderDecorator} is
* used.
* @param zoieConfig
* configuration object
*/
@SuppressWarnings({ "deprecation", "unchecked" })
public ZoieSystem(DirectoryManager dirMgr, ZoieIndexableInterpreter<D> interpreter,
IndexReaderDecorator<R> indexReaderDecorator, ZoieConfig zoieConfig) {
this(dirMgr, interpreter, indexReaderDecorator, zoieConfig.getDocidMapperFactory(), zoieConfig
.getAnalyzer(), zoieConfig.getSimilarity(), zoieConfig.getBatchSize(), zoieConfig
.getBatchDelay(), zoieConfig.isRtIndexing(), zoieConfig.getMaxBatchSize(), zoieConfig
.getReadercachefactory(), (RAMIndexFactory<R>) zoieConfig.getRamIndexFactory(), zoieConfig
.getVersionComparator(), zoieConfig.isSkipBadRecord());
readercache.setFreshness(zoieConfig.getFreshness());
}
代码示例来源:origin: com.senseidb.zoie/zoie-core
/**
* Creates a new ZoieSystem.
*
* @param idxDir
* index directory, mandatory.
* @param interpreter
* data interpreter, mandatory.
* @param indexReaderDecorator
* index reader decorator,optional. If not specified,
* {@link proj.zoie.impl.indexing.DefaultIndexReaderDecorator} is
* used.
* @param zoieConfig
* configuration object
*/
@SuppressWarnings({ "deprecation", "unchecked" })
public ZoieSystem(File idxDir, ZoieIndexableInterpreter<D> interpreter,
IndexReaderDecorator<R> indexReaderDecorator, ZoieConfig zoieConfig) {
this(new DefaultDirectoryManager(idxDir), interpreter, indexReaderDecorator, zoieConfig
.getDocidMapperFactory(), zoieConfig.getAnalyzer(), zoieConfig.getSimilarity(), zoieConfig
.getBatchSize(), zoieConfig.getBatchDelay(), zoieConfig.isRtIndexing(), zoieConfig
.getMaxBatchSize(), zoieConfig.getReadercachefactory(), (RAMIndexFactory<R>) zoieConfig
.getRamIndexFactory(), zoieConfig.getVersionComparator(), zoieConfig.isSkipBadRecord());
readercache.setFreshness(zoieConfig.getFreshness());
}
代码示例来源:origin: com.linkedin.zoie/zoie-core
/**
* Creates a new ZoieSystem.
*
* @param idxDir
* index directory, mandatory.
* @param interpreter
* data interpreter, mandatory.
* @param indexReaderDecorator
* index reader decorator,optional. If not specified,
* {@link proj.zoie.impl.indexing.DefaultIndexReaderDecorator} is
* used.
* @param zoieConfig
* configuration object
*/
public ZoieSystem(File idxDir, ZoieIndexableInterpreter<D> interpreter,
IndexReaderDecorator<R> indexReaderDecorator, ZoieConfig zoieConfig)
{
this(new DefaultDirectoryManager(idxDir), interpreter, indexReaderDecorator,
zoieConfig.getDocidMapperFactory(), zoieConfig.getAnalyzer(),
zoieConfig.getSimilarity(), zoieConfig.getBatchSize(), zoieConfig
.getBatchDelay(), zoieConfig.isRtIndexing(), zoieConfig
.getMaxBatchSize(), zoieConfig.getReadercachefactory(),
(RAMIndexFactory<R>)zoieConfig.getRamIndexFactory(),zoieConfig.getVersionComparator(),
zoieConfig.isSkipBadRecord());
readercache.setFreshness(zoieConfig.getFreshness());
}
内容来源于网络,如有侵权,请联系作者删除!