开发者

When to use which search technique in Sharepoint development?

When I have to use KeywordSearchQuery, when should I use FullTextSearchQuery and when should I use Query in developing the search part in Visual Studio for a Sharepoint site?

I want to search information from Cont开发者_JAVA技巧act list. If any keyword is put in the search box, I wan related information in our own specified format. Which technique should I use?


I think it depends on the situation. In your case, since you are searching a Contacts list, I would recommend using a regular CAML and SPQuery.

In general:

  • One list, use a CAML query
  • Many lists, use search
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜