You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Mahesh Gupta <km...@gmail.com> on 2018/01/25 08:04:19 UTC
Required "cql solr query" for given "http api based json solr query"
Hi Team,
can any one help me on writing equalent cql solr query of below "http api
based json solr query"
My Running json solr query:
http://hostname:8983/solr/tablename/select?q=*%3A*&fq=pre_upgrade%3A%22yes%22&wt=json&indent=true&group:true,group.field:product_family
Expecting : equal-ant cql solr query for above json solr query.
select * from asr_status where
solr_query='{"q":"*:*","fq":["pre_upgrade:Yes"]}';
Am failing at how to add group and group.filed in cql solr query.
Ur suggestions much appreciated.
Re: Required "cql solr query" for given "http api based json solr
query"
Posted by Shawn Heisey <ap...@elyograg.org>.
On 1/25/2018 1:04 AM, Mahesh Gupta wrote:
> can any one help me on writing equalent cql solr query of below "http api
> based json solr query"
CQL is a query language for Cassandra, not Solr. You'll need to talk to
that project, not this one.
CQL will not be involved with a Solr query, unless perhaps you're using
DataStax. But for that, you'll need to talk to the company that
produces DSE.
Thanks,
Shawn