Try our conversational search powered by Generative AI!

Find - ExcludeField() function on the ContextIndexer


Would be nice if the ExcludeFiled() function that is on the SearchClient.Instance.Conventions also existed on the ContentIndexer

Oct 08, 2014 16:35
ContentIndexer.Instance.Conventions.ForInstancesOf().ShouldIndex(_ => true);

This is working for me.

Oct 08, 2014 21:13

That would just add all ArticlePages no?

What I'm looking for is to ExclueFields from the type like you can do on the SearchClient.

searchInstance.Conventions.ForInstancesOf().ExcludeField(x => x.ChangedBy);

Oct 08, 2014 22:14

Oh, I see. Right

Oct 09, 2014 9:07
This thread is locked and should be used for reference only.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.