# Does the search extension have the ability to exclude pages from the serach results?

**URL:** <https://www.ruby-forum.com/t/does-the-search-extension-have-the-ability-to-exclude-pages-from-the-serach-results/132730>\
**Category:** Radiant CMS\
**Created:** [March 24, 2008, 6:20am UTC](https://www.ruby-forum.com/t/does-the-search-extension-have-the-ability-to-exclude-pages-from-the-serach-results/132730 "2008-03-24T06:20:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jsmorris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/6f9a4e/32.png) [@jsmorris](https://www.ruby-forum.com/u/jsmorris)\
**Post date:** [March 24, 2008, 6:20am UTC](https://www.ruby-forum.com/t/does-the-search-extension-have-the-ability-to-exclude-pages-from-the-serach-results/132730/1 "2008-03-24T06:20:20Z")

</div>

Does the search extension have the ability to exclude pages from its  
results?

I have some pages on my site (e.g. stylesheet, etc) that I do not what  
to show up in my search results. Is there any way to exclude them?

I have seen other extension use a “no-xxxx” page part to exclude pages  
and was hoping that they search extension had one as well. I didn’t  
see thing like that in the extension code, but wanted to check with  
the list. I think it would make a nice feature for that extension.

Jason

---

<div class="post-metadata">

**Author:** ![jsmorris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/6f9a4e/32.png) [@jsmorris](https://www.ruby-forum.com/u/jsmorris)\
**Post date:** [March 24, 2008, 6:28am UTC](https://www.ruby-forum.com/t/does-the-search-extension-have-the-ability-to-exclude-pages-from-the-serach-results/132730/2 "2008-03-24T06:28:32Z")

</div>

It currently doesn’t, but it shouldn’t be too hard to add. At Digital  
Pulp they developed a search extension based on Ferret. I’m currently  
using Sphinx on another project. Either would be great alternatives to  
the brute-force “LIKE” query that the current search extension uses, and  
it would be trivial to exclude certain pages from the search.

Sean

---

<div class="post-metadata">

**Author:** ![jsmorris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/6f9a4e/32.png) [@jsmorris](https://www.ruby-forum.com/u/jsmorris)\
**Post date:** [March 24, 2008, 3:58pm UTC](https://www.ruby-forum.com/t/does-the-search-extension-have-the-ability-to-exclude-pages-from-the-serach-results/132730/3 "2008-03-24T15:58:09Z")

</div>

I am also interested in this. Sphinx sounds great! Is the extension  
you’re using on your project something you’d consider releasing, Sean?

---

<div class="post-metadata">

**Author:** ![jsmorris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/6f9a4e/32.png) [@jsmorris](https://www.ruby-forum.com/u/jsmorris)\
**Post date:** [March 24, 2008, 4:06pm UTC](https://www.ruby-forum.com/t/does-the-search-extension-have-the-ability-to-exclude-pages-from-the-serach-results/132730/4 "2008-03-24T16:06:42Z")

</div>

Sorry, but the current project I’m on is not a Radiant project.  
However, I can highly recommend the Thinking Sphinx plugin for anyone  
who’s brave enough to try out Sphinx. It has the most friendly API in  
my opinion.

Sean

---

<div class="post-metadata">

**Author:** ![jsmorris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/6f9a4e/32.png) [@jsmorris](https://www.ruby-forum.com/u/jsmorris)\
**Post date:** [March 24, 2008, 4:07pm UTC](https://www.ruby-forum.com/t/does-the-search-extension-have-the-ability-to-exclude-pages-from-the-serach-results/132730/5 "2008-03-24T16:07:17Z")

</div>

Sorry, but the current project I’m on is not a Radiant project.  
However, I can highly recommend the Thinking Sphinx plugin for anyone  
who’s brave enough to try out Sphinx. It has the most friendly API in  
my opinion.

Sean
