I have a site that I have recently been upgrading from 8.2 to 9.1 and everything is looking good EXCEPT anything that relies on search funcionality.

Any Azure search has in the info log:

2019-02-12T00:16:14 PID[7480] Information 6936 00:16:14 INFO AzureSearch Query [sitecore_master_index]: &search=This_Is_Equal_ConstNode_Return_Nothing&$filter=(not search.ismatchscoring('This_Is_Equal_ConstNode_Return_Nothing', null, 'full', null) or search.ismatchscoring('This_Is_Equal_ConstNode_Return_Nothing', null, 'full', null)) and (path_1/any(t:t eq '38eb27a595144c92b00f3f5e277c5de2')) and latestversion_1

I have examined the query just before the iQueryable call to search and can see that the query object seems correct, any facets, or paging etc are all correct.

Note: Search functionality in Sitecore is still working, just not in my web app. I also had to modify my ContentSearch Index config to set IncludeAllFields to FALSE because I went over the 1000 from Azure Search limit.

  • This is often due to a configuration issue with the index fields. This may be a duplicate of sitecore.stackexchange.com/questions/15979/… ? – George Tucker Feb 12 '19 at 1:19
  • I read that as well before posting. When I turned off IncludeAllFields I had issues trying to rebuild the indexes because it said "boost" could not be found. So I added "boost" as an included field. No other changes were made to the index config except this. I also tested this with a clean config file before any modification and still saw this error anywhere my app used COntentSearch – Jay Leffue Feb 12 '19 at 2:23
  • These errors are hard to debug - they indicate a problem with the query but don't tell you what. Try with a very basic query and if that works start adding extra's until it breaks. – Gatogordo Feb 12 '19 at 9:00

Issue ended up indeed being config file related. I missed ONE reference to Solr, fixing it to Cloud and the searching started working. Took far too long for me to see it.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.