I am trying to use projections to minimize the amount of data that are returned from the Find server but I got this error:
Error setting value to 'Category' on 'ProductPage'
I am using code that looks like this:
var searchQuery = _searchClient.Search(Language.Swedish)
.Filter(f => f.Cities.In(locations, true));
searchQuery.Select(s => new
{
Title = s.Title,
LinkUrl = s.LinkUrl
});
var result = searchQuery.GetResult();
I am trying to use projections to minimize the amount of data that are returned from the Find server but I got this error:
Error setting value to 'Category' on 'ProductPage'
I am using code that looks like this:
Anyone got a clue on how it could be like this?