0

Currently i receiving data from sharepoint list using CAML and Linq. but now requirement is to retrive data from sharepoint list using search query.

can anyone give examples or good articles to retrive data through sharepoint search query?

Thanks

1 Answer 1

2

You can use FullTextSqlQuery like it's described in this post or KeywordQuery like it's described in this post. How to choose between these two approaches you can find here.

2
  • Thanks alexandar your answer help me a lot... can we query against sharepoint list? if yes then how? And how many types of scope avaiable? Commented Feb 28, 2013 at 12:19
  • See this video to understand how to create scope for list. Also you can find a list of available scopes in your search settings (Site Actions > Site Settings > Search scopes).
    – Alexander
    Commented Feb 28, 2013 at 12:26

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.