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

The following examples show how to use org.apache.solr.handler.component.MergeStrategy. 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 File: AnalyticsQuery.java    From lucene-solr with 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
Source File: AlfrescoReRankQParserPlugin.java    From SearchServices with GNU Lesser General Public License v3.0 4 votes vote down vote up
public MergeStrategy getMergeStrategy() {
    return null;
}
 
Example #3
Source File: AbstractReRankQuery.java    From lucene-solr with Apache License 2.0 4 votes vote down vote up
public MergeStrategy getMergeStrategy() {
  return null;
}
 
Example #4
Source File: ExportQParserPlugin.java    From lucene-solr with Apache License 2.0 4 votes vote down vote up
public MergeStrategy getMergeStrategy() {
  return null;
}
 
Example #5
Source File: RankQueryTestPlugin.java    From lucene-solr with 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 File: AnalyticsTestQParserPlugin.java    From lucene-solr with Apache License 2.0 4 votes vote down vote up
public TestAnalyticsQuery(int base, MergeStrategy mergeStrategy) {
  super(mergeStrategy);
  this.base = base;
}
 
Example #7
Source File: QuerqyReRankQuery.java    From querqy with Apache License 2.0 4 votes vote down vote up
@Override
public MergeStrategy getMergeStrategy() {
    return null;
}
 
Example #8
Source File: RankQuery.java    From lucene-solr with Apache License 2.0 votes vote down vote up
public abstract MergeStrategy getMergeStrategy();