SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a webpart, which displays a list with information (title, creation date) about publishing pages under the current web site.

Above this list there should be a search form (filter) to search this pages for the given search string.

What is the best way (performance etc.) to search? A simple CAML-Query with "Contains"-Keyword or using the sharepoint enterprise/fast search?

share|improve this question
up vote 0 down vote accepted

First of all, there is difference between Filter and Search.

Using CAML, you query the list. It can be performance intensive if your list is too large.Also, you should be aware of throttle limits(5000 items).

Using Search, you query already indexed information which is better performance wise.

Newly added pages will be available in search results only after crawling Whereas you can find them using CAML as soon as they are published.

share|improve this answer
Thanks for that enlightment – HutzelGutzel Nov 28 '11 at 13:40

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.