Cao Manh Dat created SOLR-11365:
-----------------------------------

             Summary: Verbose parameter's names for QParsers
                 Key: SOLR-11365
                 URL: https://issues.apache.org/jira/browse/SOLR-11365
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Cao Manh Dat


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
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to