最近在工作中用到了solr的搜索,工作内容类似贴吧,solr是做帖子搜索的。但是对一些负面帖子会做屏蔽操作,这就要求同步去索引库中删除该负面帖子的索引。如果只屏蔽一条帖子是可以成功在索引库中删除这条负面帖子的索引。但是如果连续屏蔽很多帖子,就会有部分帖子在索引库中无法删掉索引。感觉代码没问题,觉得是solr性能的问题?
solr后台
2016/11/23 下午11:51:13 WARN SolrCore [collection1] PERFORMANCE WARNING: Overlapping onDeckSearchers=2
2016/11/23 下午11:51:13 WARN SolrCore [collection1] PERFORMANCE WARNING: Overlapping onDeckSearchers=2
2016/11/23 下午11:51:13 WARN SolrCore [collection1] Error opening new searcher. exceeded limit of maxWarmingSearchers=2, try again later.
2016/11/23 下午11:51:13 ERROR SolrCore org.apache.solr.common.SolrException: Error opening new searcher. exceeded limit of maxWarmingSearchers=2, try again later.
2016/11/23 下午11:51:31 WARN SolrCore [collection1] PERFORMANCE WARNING: Overlapping onDeckSearchers=2
2016/11/23 下午11:51:44 WARN SolrCore [collection1] PERFORMANCE WARNING: Overlapping onDeckSearchers=2
2016/11/23 下午11:53:08 WARN SolrCore [collection1] PERFORMANCE WARNING: Overlapping onDeckSearchers=2
2016/11/23 下午11:53:24 WARN SolrCore [collection1] PERFORMANCE WARNING: Overlapping onDeckSearchers=2
2016/11/23 下午11:53:33 WARN SolrCore [collection1] PERFORMANCE WARNING: Overlapping onDeckSearchers=2
2016/11/23 下午11:54:02 WARN SolrCore [collection1] PERFORMANCE WARNING: Overlapping onDeckSearchers=2
2016/11/23 下午11:54:48 WARN SolrCore [collection1] PERFORMANCE WARNING: Overlapping onDeckSearchers=2
报这些warning,有大神知道怎么处理么
solr后台
2016/11/23 下午11:51:13 WARN SolrCore [collection1] PERFORMANCE WARNING: Overlapping onDeckSearchers=2
2016/11/23 下午11:51:13 WARN SolrCore [collection1] PERFORMANCE WARNING: Overlapping onDeckSearchers=2
2016/11/23 下午11:51:13 WARN SolrCore [collection1] Error opening new searcher. exceeded limit of maxWarmingSearchers=2, try again later.
2016/11/23 下午11:51:13 ERROR SolrCore org.apache.solr.common.SolrException: Error opening new searcher. exceeded limit of maxWarmingSearchers=2, try again later.
2016/11/23 下午11:51:31 WARN SolrCore [collection1] PERFORMANCE WARNING: Overlapping onDeckSearchers=2
2016/11/23 下午11:51:44 WARN SolrCore [collection1] PERFORMANCE WARNING: Overlapping onDeckSearchers=2
2016/11/23 下午11:53:08 WARN SolrCore [collection1] PERFORMANCE WARNING: Overlapping onDeckSearchers=2
2016/11/23 下午11:53:24 WARN SolrCore [collection1] PERFORMANCE WARNING: Overlapping onDeckSearchers=2
2016/11/23 下午11:53:33 WARN SolrCore [collection1] PERFORMANCE WARNING: Overlapping onDeckSearchers=2
2016/11/23 下午11:54:02 WARN SolrCore [collection1] PERFORMANCE WARNING: Overlapping onDeckSearchers=2
2016/11/23 下午11:54:48 WARN SolrCore [collection1] PERFORMANCE WARNING: Overlapping onDeckSearchers=2
报这些warning,有大神知道怎么处理么