|
@@ -14,10 +14,10 @@ import org.apache.lucene.search.IndexSearcher;
|
|
|
import org.apache.lucene.search.ScoreDoc;
|
|
|
import org.apache.lucene.search.TopDocs;
|
|
|
import org.elasticsearch.core.Nullable;
|
|
|
-import org.elasticsearch.common.xcontent.ParseField;
|
|
|
+import org.elasticsearch.xcontent.ParseField;
|
|
|
import org.elasticsearch.common.io.stream.StreamInput;
|
|
|
import org.elasticsearch.common.io.stream.StreamOutput;
|
|
|
-import org.elasticsearch.common.xcontent.ConstructingObjectParser;
|
|
|
+import org.elasticsearch.xcontent.ConstructingObjectParser;
|
|
|
import org.elasticsearch.xcontent.XContentBuilder;
|
|
|
import org.elasticsearch.xcontent.XContentParser;
|
|
|
import org.elasticsearch.index.fielddata.IndexFieldData;
|
|
@@ -36,8 +36,8 @@ import java.util.Iterator;
|
|
|
import java.util.Objects;
|
|
|
|
|
|
import static java.util.Collections.singletonList;
|
|
|
-import static org.elasticsearch.common.xcontent.ConstructingObjectParser.constructorArg;
|
|
|
-import static org.elasticsearch.common.xcontent.ConstructingObjectParser.optionalConstructorArg;
|
|
|
+import static org.elasticsearch.xcontent.ConstructingObjectParser.constructorArg;
|
|
|
+import static org.elasticsearch.xcontent.ConstructingObjectParser.optionalConstructorArg;
|
|
|
|
|
|
/**
|
|
|
* Example rescorer that multiplies the score of the hit by some factor and doesn't resort them.
|