My client have a pretty straight forward Cms solution with Find and would like to stop indexing the content of an pdf itself, which means that only metadata about a file should exist in index. Data in the document is indexed in some kind of encoded way by default and it is that I want to not happen.
Thankful for input!
I think you should be able to exclude that from your conventions. Something like this from the docs:
.ExcludeField(x => x.Password);
Maybe you also need to return something empty from SearchAttachment() extension/prop method if it's a PDF.
Thanks, Johan! This might have done the trick!