add functionality to criteria and dataprovider to find data from sphinx