All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.nitorcreations.willow.metrics.OneResultBuilderCustomizer Maven / Gradle / Ivy

The newest version!
package com.nitorcreations.willow.metrics;

import org.elasticsearch.action.search.SearchRequestBuilder;

public class OneResultBuilderCustomizer implements BuilderCustomizer {
  @Override
  public void customize(SearchRequestBuilder builder) {
    builder.setSize(1);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy