You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by GitBox <gi...@apache.org> on 2021/04/20 20:03:19 UTC

[GitHub] [solr] dweiss commented on a change in pull request #82: SOLR-15345: add fq.qparser and fq.defType alias so that filter queries

dweiss commented on a change in pull request #82:
URL: https://github.com/apache/solr/pull/82#discussion_r616995033



##########
File path: solr/solrj/src/java/org/apache/solr/common/params/CommonParams.java
##########
@@ -155,6 +155,18 @@
   String SEGMENT_TERMINATE_EARLY = "segmentTerminateEarly";
   boolean SEGMENT_TERMINATE_EARLY_DEFAULT = false;
 
+  /**
+   * Default parser for parsing filter queries ({@code fq}.
+   */
+  String FQ_QPARSER = CommonParams.FQ + ".qparser";
+
+  /**
+   * Default parser for parsing filter queries ({@code fq}. This is an
+   * alias to {@link #FQ_QPARSER} which is aligned with the legacy {@code defType}
+   * parameter. {@link #FQ_QPARSER} should be preferred over this syntax.
+   */
+  String FQ_DEFPARSER = CommonParams.FQ + ".defType";

Review comment:
       Thanks. Yeah, I didn't think of it - I'll take a look at those other places. I don't mind adding just one version of the parameter too (fq.qparser).




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org