...
- query: search the index and return user-specified fields
- schema: return the field and field type definitions of the SOLR index
Info |
---|
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 schema where @stored="true", or use the |
...
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.
Method | GET | |||
---|---|---|---|---|
Path | /search/schema | Returns the entire schema | ||
/search/schema/fields | Returns information about all defined fields or a specific named field | |||
/search/schema/dynamicfields | Returns information about all dynamic field rules or a specific named dynamic rule | |||
/search/schema/fieldtypes | Returns information about all field types or a specific field type | |||
/search/schema/copyfields | Returns information about copy fields | |||
/search/schema/name | Returns the schema name | |||
/search/schema/version | Returns the schema version | |||
/search/schema/uniquekey | Returns the defined uniqueKey | |||
/search/schema/similarity | Returns the global similarity definition | |||
/search/schema/solrqueryparser/defaultoperator | Returns the default operator | |||
Parameter | Values | Description | ||
@fl | String: ex. ttl | Field name or comma-separated list of field names | ||
@showDefaults | Boolean: ex. 1 | Include in the response all default property values from the associated field type | ||
@includeDynamic | Boolean: ex. 0 | If the 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 |
...
Code Block | ||
---|---|---|
| ||
{ "status" : "success" "time" : "0.041030", "content" : { "responseHeader" : { "status" : 0, "QTime" : 5 }, "fields" : [ { "indexed" : true, "uniqueKey" : true, "name" : "ucid", "required" : true, "stored" : true, "type" : "string" }, { "name" : "ttl", "indexed" : true, "type" : "alexandria_text", "stored" : false, "multiValued" : true } ] }, } |
...
/search/query
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.
Method(s) | GET | POST | |||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Path | /search/query | |||||||||||||||||||||||||||||||||||||||||
Common Query Parameters:
For a thorough treatment, please see Query Syntax and Parsing. |
...
Info |
---|
Note: As of CDWS v2.4, a special HTTP header |
...