cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From A J <s5a...@gmail.com>
Subject Re: solr query for string match in CQL
Date Thu, 12 Apr 2012 15:45:06 GMT
Never mind.
Double quotes within the single quotes worked:
select * from solr where solr_query='body:"sixty eight million nine
hundred forty three thousand four hundred twenty four"';


On Thu, Apr 12, 2012 at 11:42 AM, A J <s5alye@gmail.com> wrote:
> What is the syntax for a string match in CQL for solr_query ?
>
> cqlsh:wiki> select * from solr where solr_query='body:sixty eight
> million nine hundred forty three thousand four hundred twenty four';
> Request did not complete within rpc_timeout.
>
> url encoding just returns without retrieving the row present:
> cqlsh:wiki> select count(*) from solr where
> solr_query='body:%22sixty%20eight%20million%20nine%20hundred%20forty%20three%20thousand%20four%20hundred%20twenty%20four%22'
> ;
>  count
> -------
>     0
>
> I have exactly one row matching this string that I can retrieve
> through direct solr query.
>
>
> Thanks.

Mime
View raw message