简体   繁体   中英

Sharepoint 2010. Search

I am not very familiar with sharepoint so probably this can be builtin function or something....

I have 200 sites and i need really fast search inside documents and pages.

What is the best way to perform search and cache some items?

  • I need also to show search items while customer types text inside text box. How can i perform search for that purpose(Ajax+WCF. question about sharepoint API).

This is no simple task with pitfalls you should be aware of:

  • Find-on-type against the search index could lead to a overload of the system with a bottle neck to the SQL server (High traffic between front end and back end).
  • Caching is difficult since for a search you probably want to cache per user to avoid security issues.

Use paging to avoid returning the whole set:

using Microsoft.Office.Server.Search.Query;
// ...
Query query = new FullTextSqlQuery(site);
query.StartRow = x;
query.RowLmit = 10;

Check out our product MatchPoint . MatchPoint is a application framework for SharePoint that includes a set of web parts providing the functionality you require for this task.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM