本文整理汇总了Java中org.apache.solr.update.MergeIndexesCommand类的典型用法代码示例。如果您正苦于以下问题:Java MergeIndexesCommand类的具体用法?Java MergeIndexesCommand怎么用?Java MergeIndexesCommand使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
MergeIndexesCommand类属于org.apache.solr.update包,在下文中一共展示了MergeIndexesCommand类的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: processMergeIndexes
import org.apache.solr.update.MergeIndexesCommand; //导入依赖的package包/类
@Override
public void processMergeIndexes(MergeIndexesCommand cmd) throws IOException {
if (logDebug) { log.debug("PRE_UPDATE " + cmd.toString() + " " + req); }
if (next != null) next.processMergeIndexes(cmd);
toLog.add("mergeIndexes", cmd.toString());
}
开发者ID:europeana,项目名称:search,代码行数:8,代码来源:LogUpdateProcessorFactory.java
示例2: verifyAuthorized
import org.apache.solr.update.MergeIndexesCommand; //导入依赖的package包/类
private void verifyAuthorized(String collection, String user) throws Exception {
SolrQueryRequestBase req = new SolrQueryRequestBase(core, new MapSolrParams(new HashMap())) {};
getProcessor(collection, user).processAdd(new AddUpdateCommand(req));
getProcessor(collection, user).processDelete(new DeleteUpdateCommand(req));
DeleteUpdateCommand deleteByQueryCommand = new DeleteUpdateCommand(req);
deleteByQueryCommand.setQuery("*:*");
getProcessor(collection, user).processDelete(deleteByQueryCommand);
getProcessor(collection, user).processMergeIndexes(new MergeIndexesCommand(null, req));
getProcessor(collection, user).processCommit(new CommitUpdateCommand(req, false));
getProcessor(collection, user).processRollback(new RollbackUpdateCommand(req));
getProcessor(collection, user).finish();
}
开发者ID:apache,项目名称:incubator-sentry,代码行数:13,代码来源:UpdateIndexAuthorizationProcessorTest.java
示例3: mergeIndexes
import org.apache.solr.update.MergeIndexesCommand; //导入依赖的package包/类
public int mergeIndexes(final MergeIndexesCommand cmd) throws IOException {
if (position < filters.length) {
final UpdateHandlerFilter filter = filters[position];
position++;
return filter.mergeIndexes(cmd, this);
} else {
return updateHandler.doMergeIndexes(cmd);
}
}
开发者ID:codelibs,项目名称:fess-solr-plugin,代码行数:10,代码来源:UpdateHandlerFilterChain.java
示例4: processMergeIndexes
import org.apache.solr.update.MergeIndexesCommand; //导入依赖的package包/类
@Override
public void processMergeIndexes(MergeIndexesCommand cmd) throws IOException {
mergeIndexesCalled = true;
super.processMergeIndexes(cmd);
}
开发者ID:europeana,项目名称:search,代码行数:6,代码来源:AbstractDataImportHandlerTestCase.java
示例5: processMergeIndexes
import org.apache.solr.update.MergeIndexesCommand; //导入依赖的package包/类
public void processMergeIndexes(MergeIndexesCommand cmd) throws IOException {
if (next != null) next.processMergeIndexes(cmd);
}
开发者ID:europeana,项目名称:search,代码行数:4,代码来源:UpdateRequestProcessor.java
示例6: processMergeIndexes
import org.apache.solr.update.MergeIndexesCommand; //导入依赖的package包/类
@Override
public void processMergeIndexes(MergeIndexesCommand cmd) throws IOException {
record(cmd);
super.processMergeIndexes(cmd);
}
开发者ID:europeana,项目名称:search,代码行数:6,代码来源:RecordingUpdateProcessorFactory.java
示例7: mergeIndexes
import org.apache.solr.update.MergeIndexesCommand; //导入依赖的package包/类
public int mergeIndexes(MergeIndexesCommand cmd) throws IOException
{
throw new UnsupportedOperationException();
}
开发者ID:Alfresco,项目名称:community-edition-old,代码行数:5,代码来源:AlfrescoUpdateHandler.java
示例8: processMergeIndexes
import org.apache.solr.update.MergeIndexesCommand; //导入依赖的package包/类
@Override
public void processMergeIndexes(MergeIndexesCommand cmd) throws IOException {
authorizeCollectionAction(cmd.name());
super.processMergeIndexes(cmd);
}
开发者ID:apache,项目名称:incubator-sentry,代码行数:6,代码来源:UpdateIndexAuthorizationProcessor.java
示例9: mergeIndexes
import org.apache.solr.update.MergeIndexesCommand; //导入依赖的package包/类
@Override
public int mergeIndexes(final MergeIndexesCommand cmd) throws IOException {
final UpdateHandlerFilterChain chain = new UpdateHandlerFilterChain(
this, filters);
return chain.mergeIndexes(cmd);
}
开发者ID:codelibs,项目名称:fess-solr-plugin,代码行数:7,代码来源:FessUpdateHandler.java
示例10: doMergeIndexes
import org.apache.solr.update.MergeIndexesCommand; //导入依赖的package包/类
protected int doMergeIndexes(final MergeIndexesCommand cmd)
throws IOException {
return super.mergeIndexes(cmd);
}
开发者ID:codelibs,项目名称:fess-solr-plugin,代码行数:5,代码来源:FessUpdateHandler.java
示例11: mergeIndexes
import org.apache.solr.update.MergeIndexesCommand; //导入依赖的package包/类
public int mergeIndexes(final MergeIndexesCommand cmd,
final UpdateHandlerFilterChain chain) throws IOException {
return chain.mergeIndexes(cmd);
}
开发者ID:codelibs,项目名称:fess-solr-plugin,代码行数:5,代码来源:UpdateHandlerFilter.java
注:本文中的org.apache.solr.update.MergeIndexesCommand类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论