Opensearch v1.1
Method search
Parameter | Description |
query | User search query |
start | Result offset (start at document n) |
Example:
http://demo.searchdaimon.com/webclient2/api/opensearch/1.1/ search?query=test&start=1
Username: demo
Password: 1234Asd
Tips:
You may add the possibility for your users to subscribe to search results as rss feeds, by adding a link to api/opensearch/1.1/search?query=test to the head section of your result page.
Example:
<link rel="alternate" type="application/rss+xml" title="test - Searchdaimon search" href="api/opensearch/1.1/search?query=test" />
Searchdaimon v2.1
Method search
Parameter | Description |
query | User search query |
start | Result offset (start at document n) |
Example:
http://demo.searchdaimon.com/webclient2/api/sd/2.1/ search?query=test&start=1
Username: demo
Password: 1234Asd
Plain v1.0
Method suggest
Parameter | Description |
prefix | User search query prefix |
Example:
http://demo.searchdaimon.com/webclient2/api/plain/1.0/suggest?prefix=s
Username: demo
Password: 1234Asd
Method cache
Returns local copy of requested document.
Parameter | Description |
document | Internal document ID |
collection | The collection the document is in. |
host | Hostname of cache server |
time | Unixtime for when signature was generated. |
signature | Signature, used to check that all parameters are valid. |
Example:
http://demo.searchdaimon.com/webclient2/api/plain/1.0/cache/ Administration2/2195/?signature=580553829&time=1247055462
Where Administration2 is the collection parameter, and 2195 is the document parameter.