0

Is it possible to execute SOLR 4.0 spatial queries from CQL against DSE Search 3.2.0 instance? If yes, what is the correct syntax? In particular my question is about CQL queries referring to a field of a type implemented using solr.SpatialRecursivePrefixTreeFieldType class. Running SOLR queries referring to this type against DSE Search 3.2.0 instance using SOLR Web console works just fine.

Thanks, Leon

Erick Ramirez
  • 13,964
  • 1
  • 18
  • 23
Leon
  • 41
  • 4

2 Answers2

1

DSE Search CQL only supports basic Lucene syntax, and at this stage it is only provided for development/testing purposes, so you're encouraged to use standard Solr APIs.

sbtourist
  • 726
  • 3
  • 6
1

Just to be clear about usage, normally a "spatial" query is a filter query that is applied to a main query to limit the area of the results while the main query does selection of data by non-spatial attributes such as keywords, but the CQL syntax has only a main query and no provision for any additional Solr query parameters such as filter queries ("fq") or the Solr parameters used by spatial queries.

So, the Solr HTTP API is the only route for spatial queries against DSE data.

Jack Krupansky
  • 1,021
  • 7
  • 5