com.nitorcreations.willow.metrics.OneResultBuilderCustomizer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of willow-servers Show documentation
Show all versions of willow-servers Show documentation
Willow operational servlets and servers
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);
}
}