Skip to content

Apache Lucene open-source search software

highlighting params in CommonParams changed to non-static

Yonik Seeley91270b567ec0
diff --git a/src/java/org/apache/solr/util/CommonParams.java b/src/java/org/apache/solr/util/CommonParams.java
index 1f45e98a576..e187ba20a15 100755
--- a/src/java/org/apache/solr/util/CommonParams.java
+++ b/src/java/org/apache/solr/util/CommonParams.java
@@ -73,13 +73,13 @@ import java.io.IOException;
/** no default other explanation query **/
public String explainOther = null;
/** whether to highlight */
- public static boolean highlight = false;
+ public boolean highlight = false;
/** fields to highlight */
- public static String highlightFields = null;
+ public String highlightFields = null;
/** maximum highlight fragments to return */
- public static int maxSnippets = 1;
+ public int maxSnippets = 1;
/** override default highlight Formatter class */
- public static String highlightFormatterClass = null;
+ public String highlightFormatterClass = null;
public CommonParams() {