I am doing a similar search, but the problem I am seeing is that the search always returns a null.
SearchParameters parameters = new SearchParameters
{
SearchFor = keywords,
CurrentCulture = CultureHelper.DefaultUICultureCode,
CheckPermissions = false,
SearchInAttachments = false,
SearchIndexes = "ProductSearch",
};
DataSet sr = SearchHelper.Search(parameters);
The variable sr always comes back null. I've made sure the index files are there, and I can search in the index admin screen, but it always comes back null, whether I simplify the parameters or set them all explicitly.