public interface MergeStrategy
Modifier and Type | Field and Description |
---|---|
static Comparator |
MERGE_COMP |
Modifier and Type | Method and Description |
---|---|
int |
getCost()
Defines the order that the mergeStrategies are applied.
|
void |
handleMergeFields(ResponseBuilder rb,
SolrIndexSearcher searcher)
Implement handleMergeFields(ResponseBuilder rb, SolrIndexSearch searcher) if
your merge strategy needs more complex data then the sort fields provide.
|
boolean |
handlesMergeFields()
handlesMergeFields must return true if the MergeStrategy
implements a custom handleMergeFields(ResponseBuilder rb, SolrIndexSearch searcher)
|
void |
merge(ResponseBuilder rb,
ShardRequest sreq)
merge defines the merging behaving of results that are collected from the
shards during a distributed search.
|
boolean |
mergesIds()
mergesIds must return true if the merge method merges document ids from the shards.
|
static final Comparator MERGE_COMP
void merge(ResponseBuilder rb, ShardRequest sreq)
boolean mergesIds()
boolean handlesMergeFields()
void handleMergeFields(ResponseBuilder rb, SolrIndexSearcher searcher) throws IOException
IOException
int getCost()
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.