diff --git a/src/java/org/apache/solr/search/BoostQParserPlugin.java b/src/java/org/apache/solr/search/BoostQParserPlugin.java
index 818989f544b..a74db15d623 100755
--- a/src/java/org/apache/solr/search/BoostQParserPlugin.java
+++ b/src/java/org/apache/solr/search/BoostQParserPlugin.java
@@ -29,7 +29,7 @@ import org.apache.solr.search.function.ValueSource;
/**
* Create a boosted query from the input value. The main value is the query to be boosted.
*
Other parameters: b
, the function query to use as the boost.
- *
Example: <!boost b=log(popularity)>foo
creates a query "foo"
+ *
Example: {!boost b=log(popularity)}foo
creates a query "foo"
* which is boosted (scores are multiplied) by the function query log(popularity
.
* The query to be boosted may be of any type.
*/
diff --git a/src/java/org/apache/solr/search/DisMaxQParserPlugin.java b/src/java/org/apache/solr/search/DisMaxQParserPlugin.java
index e69d8920e57..eab42929824 100755
--- a/src/java/org/apache/solr/search/DisMaxQParserPlugin.java
+++ b/src/java/org/apache/solr/search/DisMaxQParserPlugin.java
@@ -37,7 +37,7 @@ import java.util.Map;
* Create a dismax query from the input value.
*
Other parameters: all main query related parameters from the {@link org.apache.solr.handler.DisMaxRequestHandler} are supported.
* localParams are checked before global request params.
- *
Example: <!dismax qf=myfield,mytitle^2>foo
creates a dismax query across
+ *
Example: {!dismax qf=myfield,mytitle^2}foo
creates a dismax query across
* across myfield and mytitle, with a higher weight on mytitle.
*/
public class DisMaxQParserPlugin extends QParserPlugin {
diff --git a/src/java/org/apache/solr/search/FieldQParserPlugin.java b/src/java/org/apache/solr/search/FieldQParserPlugin.java
index 32ba3f91a83..ed3c5ba0ecb 100644
--- a/src/java/org/apache/solr/search/FieldQParserPlugin.java
+++ b/src/java/org/apache/solr/search/FieldQParserPlugin.java
@@ -36,9 +36,9 @@ import java.util.ArrayList;
/**
* Create a field query from the input value, applying text analysis and constructing a phrase query if appropriate.
*
Other parameters: f
, the field
- *
Example: <!field f=myfield>Foo Bar
creates a phrase query with "foo" followed by "bar"
+ *
Example: {!field f=myfield}Foo Bar
creates a phrase query with "foo" followed by "bar"
* if the analyzer for myfield is a text field with an analyzer that splits on whitespace and lowercases terms.
- * This is generally equivalent to the lucene query parser expression myfield:"Foo Bar"
+ * This is generally equivalent to the Lucene query parser expression myfield:"Foo Bar"
*/
public class FieldQParserPlugin extends QParserPlugin {
public static String NAME = "field";
diff --git a/src/java/org/apache/solr/search/FunctionQParserPlugin.java b/src/java/org/apache/solr/search/FunctionQParserPlugin.java
index 75f1344f1f0..0f66ec24768 100644
--- a/src/java/org/apache/solr/search/FunctionQParserPlugin.java
+++ b/src/java/org/apache/solr/search/FunctionQParserPlugin.java
@@ -23,7 +23,7 @@ import org.apache.solr.request.SolrQueryRequest;
/**
* Create a function query from the input value.
*
Other parameters: none
- *
Example: <!func>log(foo)
+ *
Example: {!func}log(foo)
*/
public class FunctionQParserPlugin extends QParserPlugin {
public static String NAME = "func";
diff --git a/src/java/org/apache/solr/search/LuceneQParserPlugin.java b/src/java/org/apache/solr/search/LuceneQParserPlugin.java
index 80c16036002..33a1fbe08d4 100755
--- a/src/java/org/apache/solr/search/LuceneQParserPlugin.java
+++ b/src/java/org/apache/solr/search/LuceneQParserPlugin.java
@@ -34,7 +34,7 @@ import java.util.List;
*
<!lucene q.op=AND df=text sort='price asc'>myfield:foo +bar -baz
+ * {!lucene q.op=AND df=text sort='price asc'}myfield:foo +bar -baz
*/
public class LuceneQParserPlugin extends QParserPlugin {
public static String NAME = "lucene";
diff --git a/src/java/org/apache/solr/search/OldLuceneQParserPlugin.java b/src/java/org/apache/solr/search/OldLuceneQParserPlugin.java
index e4a8b8b9e6c..a9c33ccb9ff 100755
--- a/src/java/org/apache/solr/search/OldLuceneQParserPlugin.java
+++ b/src/java/org/apache/solr/search/OldLuceneQParserPlugin.java
@@ -23,7 +23,7 @@ import org.apache.solr.request.SolrQueryRequest;
/**
* Parse Solr's variant of Lucene QueryParser syntax, including the
* deprecated sort specification after the query.
- * <!lucenePlusSort>myfield:foo +bar -baz;price asc
+ * {!lucenePlusSort}myfield:foo +bar -baz;price asc
*/
public class OldLuceneQParserPlugin extends QParserPlugin {
public static String NAME = "lucenePlusSort";
diff --git a/src/java/org/apache/solr/search/PrefixQParserPlugin.java b/src/java/org/apache/solr/search/PrefixQParserPlugin.java
index cf24dba599c..82b33584139 100755
--- a/src/java/org/apache/solr/search/PrefixQParserPlugin.java
+++ b/src/java/org/apache/solr/search/PrefixQParserPlugin.java
@@ -27,8 +27,8 @@ import org.apache.solr.request.SolrQueryRequest;
* Create a prefix query from the input value. Currently no analysis or
* value transformation is done to create this prefix query (subject to change).
* f
, the field
- * <!prefix f=myfield>foo
is generally equivalent
- * to the lucene query parser expression myfield:foo*
+ * {!prefix f=myfield}foo
is generally equivalent
+ * to the Lucene query parser expression myfield:foo*
*/
public class PrefixQParserPlugin extends QParserPlugin {
public static String NAME = "prefix";
diff --git a/src/java/org/apache/solr/search/RawQParserPlugin.java b/src/java/org/apache/solr/search/RawQParserPlugin.java
index 2391d85c44b..a56b0e6baee 100644
--- a/src/java/org/apache/solr/search/RawQParserPlugin.java
+++ b/src/java/org/apache/solr/search/RawQParserPlugin.java
@@ -27,7 +27,7 @@ import org.apache.solr.request.SolrQueryRequest;
/**
* Create a term query from the input value without any text analysis or transformation whatsoever.
* f
, the field
- * <!raw f=myfield>Foo Bar
creates TermQuery(Term("myfield","Foo Bar"))
+ * {!raw f=myfield}Foo Bar
creates TermQuery(Term("myfield","Foo Bar"))
*/
public class RawQParserPlugin extends QParserPlugin {
public static String NAME = "raw";