Indexer: minor improvements
New search functions module.

* Adds function to query Solr.

* Adds demo script.