From fdbbca7c6ca0e83ce4fd2d67f77de3553a232de4 Mon Sep 17 00:00:00 2001 From: Ziqi Wang Date: Fri, 3 Jan 2025 06:43:27 -0800 Subject: [PATCH] style --- .../highlights/TopPhraseOnceFragmentsBuilderAdaptor.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/yelp/nrtsearch/server/luceneserver/highlights/TopPhraseOnceFragmentsBuilderAdaptor.java b/src/main/java/com/yelp/nrtsearch/server/luceneserver/highlights/TopPhraseOnceFragmentsBuilderAdaptor.java index 3faf1a1ee..0524bd364 100644 --- a/src/main/java/com/yelp/nrtsearch/server/luceneserver/highlights/TopPhraseOnceFragmentsBuilderAdaptor.java +++ b/src/main/java/com/yelp/nrtsearch/server/luceneserver/highlights/TopPhraseOnceFragmentsBuilderAdaptor.java @@ -15,6 +15,8 @@ */ package com.yelp.nrtsearch.server.luceneserver.highlights; +import java.util.Comparator; +import java.util.List; import org.apache.lucene.document.Field; import org.apache.lucene.search.highlight.Encoder; import org.apache.lucene.search.vectorhighlight.BaseFragmentsBuilder; @@ -23,9 +25,6 @@ import org.apache.lucene.search.vectorhighlight.FieldFragList.WeightedFragInfo.SubInfo; import org.apache.lucene.search.vectorhighlight.FieldPhraseList.WeightedPhraseInfo.Toffs; -import java.util.Comparator; -import java.util.List; - public class TopPhraseOnceFragmentsBuilderAdaptor extends BaseFragmentsBuilder { private final BaseFragmentsBuilder innerBaseFragmentsBuilder; private final boolean topPhraseOnce;