I am using the Alloy Tech MVC site as a base for my project, and I have implemented the search exactly as is from that site. However I want to be able to remove certain pages from the search. I noticed that the SitePageData type has a property for 'DisableIndexing', I assumed that this would mean these pages where skipped when the search index was generated but they are still appearing in the results. Is there something else that needs to be implemented to make this work or could anyone else recommend a good way of doing this?
I am trying to avoid having to grab all my results and then looping through checking for a particular property and pulling out the results that I dont want as this seems quite a slow way of doing it.
If your project is based off Alloy, then I'm guessing you are using EPiServer.Search. If so, check out the ISearchable interface for your ContentType classes (http://world.episerver.com/Documentation/Class-library/?documentId=cms/7/4b1ee78f-c8b0-7c89-9f2f-e50512a20d75)