Adds first cut of search API.

Signed-off-by: Noufal Ibrahim <noufal@nibrahim.net.in>
Adds index and full text columns to user and campaigns table.

Signed-off-by: Noufal Ibrahim <noufal@nibrahim.net.in>
Adds a gendata command to generate some campaigns.

Signed-off-by: Noufal Ibrahim <noufal@nibrahim.net.in>
Adds fixed field searches.

Signed-off-by: Noufal Ibrahim <noufal@nibrahim.net.in>
Adds filtering using full text searches.

Signed-off-by: Noufal Ibrahim <noufal@nibrahim.net.in>
Adds support for customising expanded queries.

Signed-off-by: Noufal Ibrahim <noufal@nibrahim.net.in>
Adds expanded query support for User objects.

Signed-off-by: Noufal Ibrahim <noufal@nibrahim.net.in>
Fixes code to work with new API for create_search_response_v1

Signed-off-by: Noufal Ibrahim <noufal@nibrahim.net.in>
Improves error message.

Signed-off-by: Noufal Ibrahim <noufal@nibrahim.net.in>
Adds expanded query support for campaigns.

Signed-off-by: Noufal Ibrahim <noufal@nibrahim.net.in>
Merge branch 'search-api'