Skip to main content
edited tags
Link
Pete Navarra
  • 14.7k
  • 3
  • 45
  • 89
Source Link

Why is Sitecore including the bucket parent in the search result by default

When creating buckets, I've always puzzled over one implementation decision from Sitecore in regards to buckets. By default, the bucket parent item is included in the list when you are searching for bucket items. Essentially my question is, WHY? It seems really strange. If I have a a product bucket with a bunch of product items in it, why wold I want to see the product bucket item come up in the results?

I'm aware that there is a setting to turn this off (BucketConfiguration.ExcludeContextItemFromResult) but I can't understand why that is set to false by default.