Java Code Examples for org.apache.solr.handler.component.MergeStrategy

The following examples show how to use org.apache.solr.handler.component.MergeStrategy. These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source Project: lucene-solr   Source File: AnalyticsQuery.java    License: Apache License 2.0 5 votes vote down vote up
/**
 * Use this constructor for distributed analytics.
 * @param mergeStrategy defines the distributed merge strategy for this AnalyticsQuery
 **/

public AnalyticsQuery(MergeStrategy mergeStrategy){
  SolrRequestInfo info = SolrRequestInfo.getRequestInfo();
  ResponseBuilder rb = info.getResponseBuilder();
  rb.addMergeStrategy(mergeStrategy);
}
 
Example 2
public MergeStrategy getMergeStrategy() {
    return null;
}
 
Example 3
Source Project: lucene-solr   Source File: AbstractReRankQuery.java    License: Apache License 2.0 4 votes vote down vote up
public MergeStrategy getMergeStrategy() {
  return null;
}
 
Example 4
Source Project: lucene-solr   Source File: ExportQParserPlugin.java    License: Apache License 2.0 4 votes vote down vote up
public MergeStrategy getMergeStrategy() {
  return null;
}
 
Example 5
Source Project: lucene-solr   Source File: RankQueryTestPlugin.java    License: Apache License 2.0 4 votes vote down vote up
public MergeStrategy getMergeStrategy() {
  if(mergeStrategy == 0)
    return new TestMergeStrategy();
  else
    return new TestMergeStrategy1();
}
 
Example 6
Source Project: lucene-solr   Source File: AnalyticsTestQParserPlugin.java    License: Apache License 2.0 4 votes vote down vote up
public TestAnalyticsQuery(int base, MergeStrategy mergeStrategy) {
  super(mergeStrategy);
  this.base = base;
}
 
Example 7
Source Project: querqy   Source File: QuerqyReRankQuery.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public MergeStrategy getMergeStrategy() {
    return null;
}
 
Example 8
Source Project: lucene-solr   Source File: RankQuery.java    License: Apache License 2.0 votes vote down vote up
public abstract MergeStrategy getMergeStrategy();