Sitecore ContentSearch - Filtering by null and empty strings
By default Sitecore will not save null and empty strings in your indexes as it wastes space. However, you might need to do something like this: using (var context = ContentSearchManager.GetIndex("MyIndex").CreateSearchContext()) { var query = context.GetQueryable<SearchResultItem>().Where(x => x.Name != null); var results…