Friday, 15 August 2014

web config - Sitecore Lucene Search Exclude Item -


In the Sitcom Lucene search, we have the following Web. You can exclude a template from search with config tags:

  & lt; Involved = "List: RemoveTemplate" & gt; & Lt; Templates & gt; {8C18027D-CA51-4E5D-A7C1-510965555}} & lt; / Template & gt; & Lt; / Include & gt;   

My question is:

How can we remove a specific item from search using web.config.

Is such a tag:

  & lt; Sign = "list: exclude item" & gt;   

I searched the web but could not find it. The solution and related references will be appreciated.

Thanax

Not sure that it is possible through web.config , But you may have a checkbox on your template, who has checked it that it will not be added to the index?

This would mean a custom crawler, however, the public class custom crawler: Database crawler {Protected Override Bull Ismaach (item item) {if (Main Util GatBool (object ["Search is included"] , Wrong)) {return false; } The basis of return ISaatch (item); }}

No comments:

Post a Comment