...
Method | GET | ||
---|---|---|---|
Path | /search/schema | Entire schema | |
/search/schema/fields | |||
/search/schema/dynamicfields | |||
/search/schema/fieldtypes | |||
/search/schema/copyfields | |||
/search/schema/name | |||
/search/schema/version | |||
/search/schema/uniquekey | |||
/search/schema/similarity | |||
/search/schema/solrqueryparser/defaultoperator | |||
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 |
Example:
Code Block | ||
---|---|---|
| ||
wget -O- \ --header 'x-user:x' \ --header 'x-password:x' \ 'http://cdws21.ificlaims.com/search/schema/fields?fl=ucid,ttl' |
Response JSON
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 } ] }, } |
...
Method(s) | GET | POST | ||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Path | /search/query | ||||||||||||||||||||||||||||||||||
Common Query Parameters:
For a thorough treatment, please see Query Syntax and Parsing. |
Example:
Code Block | ||
---|---|---|
| ||
wget -O- \ --header 'x-user:x' \ --header 'x-password:x' \ 'http://cdws21.ificlaims.com/search/query?q=*:*&fl=ucid&rows=1' |
Response JSON
Code Block | ||
---|---|---|
| ||
{ "status" : "success", "time" : "0.853972" "content" : { "responseHeader" : { "status" : 0, "params" : { "qt" : "standard", "wt" : "json", "q" : "*:*", "rows" : "1", "timeAllowed" : "300000", "indent" : "true", "fl" : "ucid", "start" : "0" }, "QTime" : 29, "pager" : { "lastPage" : 89565469, "firstPage" : 1, "totalEntries" : 89565469, "entriesOnThisPage" : 1, "currentPage" : 1, "entriesPerPage" : "1", "nextPage" : 2, "previousPage" : null } }, "response" : { "maxScore" : 1, "start" : 0, "numFound" : 89565469, "docs" : [ { "ucid" : "WO-2008080614-A1" } ] }}} |
...