Working with search results

There are some key concepts that must be understood when working with Funnelback search results.

Search lifecycle

When a search query is submitted to Funnelback it goes through a series of processing steps known as the search lifecycle. Understanding these different steps is critical when developing search lifecycle plugins.

Data model

The raw search results are returned in a data structure known as the data model. This data model includes question and response information as well as some additional elements. Understanding the structure and when various elements are initialized is critical when integrating with the JSON/XML endpoints, developing custom Freemarker templates and also when developing search lifecycle plugins that manipulate the search data model.