IncludeTemplate or ExcludeTemplate
If I'm trying to control what gets indexed, should I use IncludeTemplate or ExcludeTemplate in the CoveoSearchProvider.config? If I add a couple of value in IncludeTemplate and re-index, then it indexes just a few items as expected. It doesn't index anything in core.
But then when I run the search page, I get an error saying:
Exception Details: System.ArgumentNullException: Value cannot be null. Parameter name: key Source Error: Line 8:
So, is a better approach to add templates i don't want to index in the ExcludeTemplate section?
I don't think the error is related… have you tried withtout the include/exclude templates if the error goes away in the search page?