summaryrefslogtreecommitdiffstats
path: root/container-search/src/main/java/com/yahoo/prelude/searcher/JSONDebugSearcher.java
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2018-05-23 13:08:47 +0200
committerGitHub <noreply@github.com>2018-05-23 13:08:47 +0200
commit0fa6036254da751e0e38f77c20a419124b8af800 (patch)
tree657984ca049491cc274f8d57e010159785a901c3 /container-search/src/main/java/com/yahoo/prelude/searcher/JSONDebugSearcher.java
parentbbfa8456064e99c65ea4e78902d4fb02591ee7f3 (diff)
Revert "Bratseth/iterate over indexes not fields"
Diffstat (limited to 'container-search/src/main/java/com/yahoo/prelude/searcher/JSONDebugSearcher.java')
-rw-r--r--container-search/src/main/java/com/yahoo/prelude/searcher/JSONDebugSearcher.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/container-search/src/main/java/com/yahoo/prelude/searcher/JSONDebugSearcher.java b/container-search/src/main/java/com/yahoo/prelude/searcher/JSONDebugSearcher.java
index 2330ca2382a..c18f3d49da3 100644
--- a/container-search/src/main/java/com/yahoo/prelude/searcher/JSONDebugSearcher.java
+++ b/container-search/src/main/java/com/yahoo/prelude/searcher/JSONDebugSearcher.java
@@ -16,17 +16,16 @@ import java.util.Iterator;
/**
* Save the query in the incoming state to a meta hit in the result.
*
- * @author Steinar Knutsen
+ * @author <a href="mailto:steinar@yahoo-inc.com">Steinar Knutsen</a>
*/
-public class JSONDebugSearcher extends Searcher {
+public class JSONDebugSearcher extends Searcher {
public static final String JSON_FIELD = "JSON field: ";
public static final String STRUCT_FIELD = "Structured data field (as json): ";
public static final String FEATURE_FIELD = "Feature data field (as json): ";
private static CompoundName PROPERTYNAME = new CompoundName("dumpjson");
- @Override
public Result search(com.yahoo.search.Query query, Execution execution) {
Result r = execution.search(query);
String propertyName = query.properties().getString(PROPERTYNAME);
@@ -54,5 +53,4 @@ public class JSONDebugSearcher extends Searcher {
}
return r;
}
-
}