Dovetail Search makes an HTTP request to the Dovetail Seeker web application with the search terms.
GET http://myserver/seeker/search.castle?query=lorem
Dovetail Seeker responds with JSON containing the results. JSON (JavaScript Object Notation) is a lightweight data-interchange format that is easy for humans to read and write, and also easy for machines to parse and generate.
Here's an example of a JSON response:
{"SearchResults":[{"Score":1,"Domain":"case","Id":"7","Title":"Case with lorem ipsum in the title","Summary":"Case History"}], "TotalNumberOfResults":1, "StartResultIndex":0, "SearchQuery":"lorem"}
Dovetail Search then parses the JSON response, and displays the results.
Architecture
The following diagram illustrates the architecture of the search components.