That was caused by concurrent modifications (with addHighlightField()
function) to the same SolrQuery instance when requesting Solr on remote
peers in p2p search.
Map<String,LinkedHashSet<String>>snippets=newHashMap<String,LinkedHashSet<String>>();// this will be a list of urlhash-snippet entries
@ -1322,15 +1306,15 @@ public final class Protocol {
}
// evaluate snippets
Map<String,Map<String,List<String>>>rawsnippets=rsp[0].getHighlighting();// a map from the urlhash to a map with key=field and value = list of snippets
finalMap<String,Map<String,List<String>>>rawsnippets=rsp[0].getHighlighting();// a map from the urlhash to a map with key=field and value = list of snippets
@ -635,6 +638,21 @@ public final class QueryParams {
if(bq.length()>0)params.setParam(DisMaxParams.BQ,bq.split("[\\r\\n]+"));// split on any sequence consisting of CR and/or LF
if(bf.length()>0)params.setParam("boost",bf);// a boost function extension, see http://wiki.apache.org/solr/ExtendedDisMax#bf_.28Boost_Function.2C_additive.29