Using the Solr HTTP API

Use the Solr HTTP API to query data that is indexed in DSE Search.

You can use the Solr HTTP API to query data that is indexed in DSE Search just as you would search for data indexed in Solr.
Note: Limitations and known Apache Solr issues apply to DSE Search queries. For example, incorrect SORT results for tokenized text fields.

HTTP Solr queries use local/internal reads.

For use with the HTTP API only, you can define the default number of rows in the solrconfig.xml file:
<requestHandler class="" name="solr_query">
     <lst name="defaults">
       <int name="rows">10</int>

Solr HTTP API example

Assuming you performed the example of using a collection set, to find the titles in the mykeyspace.mysolr table that begin with the letters Succ in XML, use this URL:
The response is:
 <lst name="responseHeader">
   <int name="status">0</int>
   <int name="QTime">2</int>
   <lst name="params">
     <str name="fl">title</str>
     <str name="q">title:Succ*</str>
 <result name="response" numFound="2" start="0">
     <str name="title">Success</str>
     <str name="title">Success</str>