The Search service is broken into the following sub-sections:
- query: search the index and return user-specified fields
- schema: return the field and field type definitions of the Solr index
Note: The CLAIMS Direct Solr index does not store all text. This means that although the entire index is searchable, only certain fields are available for inclusion in a result set. For a list of retrievable fields, see the Quick Guide to Stored Solr Fields. You can also consult the schema where @stored="true", or use the
schema method of the search service to inspect field attributes.
The CLAIMS Direct Index is created and maintained using Apache Solr (http://lucene.apache.org/solr/) and hence, based on a schema definition, all functionality exposed by Solr is available through this search web service, including the entire Apache Lucene query language, result set sorting, facet searching, grouping etc. Solr is an extremely versatile and robust search platform and it is advised to fully familiarize yourself with Solr and Lucene (http://lucene.apache.org/java/docs/index.html), upon which Solr is built, before attempting to use this service.
The schema method returns the Solr schema field definitions. This service, like the search service below, is built directly on top of the Solr Schema API and therefore exposes all read-only functionality available.
|Returns the entire schema
|Returns information about all defined fields or a specific named field
|Returns information about all dynamic field rules or a specific named dynamic rule
|Returns information about all field types or a specific field type
|Returns information about copy fields
|Returns the schema name
|Returns the schema version
|Returns the defined uniqueKey
|Returns the global similarity definition
|Returns the default operator
|String: ex. ttl
|Field name or comma-separated list of field names
|Boolean: ex. 1
|Include in the response all default property values from the associated field type
|Boolean: ex. 0
fl param is specified, matching dynamic fields are included in the response and identified with the
dynamicBase property; if the
fl param is not specified, the
includeDynamic parameter is ignored
This service is built directly on top of the Solr REST services and therefore, unless otherwise noted, accepts all parameters that Solr REST services accept. For a comprehensive treatment, please see Solr Query Parameters. Bulk downloads are not supported through shared services. Search is limited to 30K documents per batch because deep paging can place undue stress on the system.
|GET | POST
Common Query Parameters:
For a thorough treatment, please see Query Syntax and Parsing.
Note: As of CDWS v2.4, a special HTTPS header
Accept type of
text/x-solr returns the raw Solr response. There is no paging block, nor response wrapper.