Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Trouble with knowing exactly which rules are being applied regarding what content is indexed or not

Vote:
 

I am having trouble with knowing eaxactly which rules (Conventions) apply regarding what is indexed or not.

In my Find initialization module (IndexingModule) I have various code implicating whether certain page types should be indexed or not,
and some times the pages of some page type are going to be indexed if and only if some conditions are true.

Is there a way to show (in code or otherwise) exactly which rules are active?

If not, I try to use the following principles:

Conventions applyng to the more general types (IContent, PageData, BasePage) are mentioned higher up in the code , from the top of the hierarchy downwards.
One condition only is applied to each level (content type) : however, this condition can be complex , including a mix of ANDs, ORs and NOTs.


#250258
Edited, Mar 16, 2021 13:37
* 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.