Wednesday, May 11, 2011

How Indexing process and query process works in Search in SharePoint 2010?

In this post we will discuss how indexing process and query process works in SharePoint 2010 search. Also you can check out my previous posts on:

- Create Search Service Application in SharePoint 2010

- Create an approval workflow in SharePoint Designer 2010

- Call jQuery to SharePoint page using Custom Action

Indexing Process:
The indexing process is responsible for building the index file. The index file contents the properties from the content sources.Content sources can be SharePoint sites, websites, external file systems, Exchange Server public folders, Business Connectivity Services (BCS) External Systems, or other custom repositories. The Index Engine gains access to these repositories through .NET Assembly Connectors and access to the contents of individual items through IFilters.

IFilters are used to allow the indexing process to access the contents of an item. Ex IFilters allow the indexing process to access the body of Microsoft Office documents so that a full-text search can be performed. While SharePoint 2010 ships with IFilters for Office documents, you may need to install additional IFilters for other types, such as PDF documents.

Query Process:
Query execution process begins when a user navigates to the Search Center and enters a query. The query in the Search Center may take the form of a simple keyword or an advanced search with multiple values against multiple Managed Properties.

When the user issues a search, the query is sent to the search engine. Within the search engine, the query processor accepts the query and also retrieves any required information from the Managed Properties database. The combination of the user query and Managed Property information is then sent to the query server, which executes the query and returns the results.

The results are returned as Extensible Markup Language (XML) to the Search Center where they are formatted using Extensible StyleSheet Language for Transformations (XSLT).

No comments:

Post a Comment