You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Cassandra Targett (JIRA)" <ji...@apache.org> on 2018/02/01 18:34:00 UTC
[jira] [Updated] (SOLR-11365) Verbose parameter's names for
QParsers
[ https://issues.apache.org/jira/browse/SOLR-11365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cassandra Targett updated SOLR-11365:
-------------------------------------
Component/s: query parsers
Issue Type: Improvement (was: Bug)
> Verbose parameter's names for QParsers
> --------------------------------------
>
> Key: SOLR-11365
> URL: https://issues.apache.org/jira/browse/SOLR-11365
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Components: query parsers
> Reporter: Cao Manh Dat
> Priority: Major
>
> SOLR-11244 enabled a powerful and easy to construct Query DSL for Solr. Thefore we may consider using verbose names for parameters of QParsers to make the query more easy to understand. For example
> {code}
> curl -XGET http://localhost:8983/solr/query -d '
> {
> "query" : {
> "boost" : {
> "query" : {
> "lucene" : {
> "operator" : "AND",
> "default_field" : "cat_s",
> "query" : "A"
> }
> }
> "function" : "log(popularity)"
> }
> }
> }
> {code}
> In my opinion we should support both verbose and shorthand names for Query DSL
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org