We upgraded our solution from 9.0.2 to 9.2 and now our search queries using a class that overrides
SearchResultItem and having properties that use an
[IndexField] attribute to set the name of field in the index are not working anymore on Solr. It does work with Azure Search.
In the logs we see that the queries are executed but the IndexField attribute is not used so we get the error that the field does not exist:
ERROR Solr Error : ["undefined field activitytype"] - Query attempted:
Weird thing is that it does work for the fields in the ootb
SearchResultItem and also for one of our own fields in the same class – the only difference I can detect is that the working fields is a