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?

1 Answer 1


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.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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