Using DSE Search with the DataStax drivers
The DataStax drivers allow developers to perform DSE Search queries in their applications.
dse.yaml
The location of the dse.yaml file depends on the type of installation:Package installations | /etc/dse/dse.yaml |
Tarball installations | installation_location/resources/dse/conf/dse.yaml |
The DataStax drivers allow developers to perform DSE Search queries in their applications.
- general
- indexing
- full-text
- faceted (categorization)
- hit prioritization
- spatial and temporl filtering
- social media matchups
WHERE
clause or normal CQL semantics.Load balancing
DSE Search queries must be directed to a datacenter with DSE Search enabled by using the load balancing policy in the driver. Use a datacenter-aware load balancing policy with the DSE Search local datacenter. For more, see Working with multi-workload clusters.
Paging
DSE Search paging is integrated in the DataStax driver execution implementation. The
drivers use cursors for deep pagination. Enable paging
through the cql_solr_query_paging
option in
dse.yaml on the server, or dynamically in the application in
the solr_query
parameters.
Geospatial data types
Point
LineString
Polygon
Date ranges
Filtering by date and time is a common use case in search queries. DSE Search delivers powerful filtering on single point-in-time or open bound date ranges through the CQL DateRangeType.