Could you use Find conventions to exclude the property from being indexed?
You should also be able to solve it in your own SearchText() extension method.
I'd like to exclude fields from search, not from the search index.
In Elasticsearch it is possible to do the source filtering, so I was hoping it's possible to achieve the same with Find.
If I use the following query, Episerver Find will search in CreateBy and ChangedBy fields:
For example, search on Administrator will return all pages that were created by admin.
InField extension doesn't solve the problem because not all classes that implement IMyInterface have the same set of properties.
What would be the most elegant way to solve this? Thanks!