IT tutorials
 
Technology
 

SharePoint 2010 : Scaling out Search — adding a query component

8/21/2013 11:38:21 AM
- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019

The SharePoint 2010 query server accepts the query from an end user from the web front-end. It then reads the index file and servers the result back.

The index file is partitioned. As query servers are added, the partition is broken into multiple parts so that no single query server holds the entire index. The following screenshot is from the Managing Search Topology page:

It illustrates how the index partition and query server are tied to one another. The index partition is sent to the query server by the crawl component. As can be seen from the preceding screenshot, each partition must have an associated query server.

It enhances the performance of the topology. There is no longer one large index file that must be traversed every time a query is sent.

Getting ready

You must have farm-level administrative permissions to the Central Administration site. There must also be another server on which to host the query server.

How to do it...

  1. Open the Central Administration site and click Application Management.

  2. The third section is Service Applications. Under this section, click Manage service applications.

  3. Find the Search Service Application option and click on it (this is the name SharePoint assigns by default if not modified when creating the Search Service). The ribbon will light up. Click Manage.

  4. Under the Search Application Topology section, there is a button called Modify; click on that button.

  5. The Search Service Topology page appears. Click the drop-down list named New and then choose the Index Partition and Query Component option.

  6. The following pop-up screen appears:

    Perform the following actions:

  7. Choose a server from the drop-down list.

  8. Choose the property database with which it will be associated, from the Associated Property Database drop-down list.

  9. Indicate the Location of Index.

  10. Do not check the box associated with the Failover-only Query Component option.

  11. Click OK.

  12. The Search Service Topology Application page will again be shown. To commit the changes you have done on the previous pop-up screen, click on the Apply Topology Changes button.

How it works...

Creating a new query component is done through the administration page, which shows the farm's search topology. This topology can be viewed either by server or by component, using the View dropdown on the right-hand side of the screen. See the following screenshot:

The query component returns the search results. A query server is where a query component has been created. The query component contains only part of an index partition. If there is only one query server, it would contain the whole partition.

An index partition can be spread across two or more query servers. The purpose is to reduce the size of the index on a particular query server, which translates to better performance.

Index partitions are roughly equal in size, which lends itself to the low query latency. SharePoint achieves this with the help of internal distribution by DocumentID. Every item is internally given a DocumentID&;, which is a unique identification marker.

It is important to note that an index partition is associated with a property database as we saw in the recipe.

Index partitions are not configured by users. Administrators don't know which item is sitting on which query server. Again, there is no single index (unless there is one query server).

After clicking Apply Topology Changes, some time may elapse before the update process is performed, as a timer job is used to perform the update.

There's more...

A new query server and partition can be added via PowerShell.

Using PowerShell, a new query can be added to the topology.

New-SPEnterpriseSearchQueryTopology

Using PowerShell, we can also add a new query component.

New-SPEnterpriseSearchQueryComponent

To see examples of these commands, type in get-help <command> -examples in the PowerShell management shell.

More info

A query component can be deleted from an index partition by utilizing the search topology screen we have seen above. By hovering over the item for the Query Component, a menu appears in the drop-down list as shown in the following screenshot. Click Delete.

 
Others
 
- SharePoint 2010 : Managing Search Service
- SharePoint 2010 : Setting up Search Service
- Windows Server 2012 : Deploying Servers - Deploying images
- Windows Server 2012 : Deploying Servers - Building images - Building reference images using MDT 2012 Update 1
- Windows Server 2012 : Deploying Servers - Preparing the build lab
- Windows Phone 8 : Multitasking - Background Transfer Service
- Windows Phone 8 : Multitasking - Location-Aware Apps
- Active Directory 2008 : Managing Enterprise Security and Configuration with Group Policy Settings -- Implementing an Audit Policy (part 2) - Auditing Directory Service Changes
- Active Directory 2008 : Managing Enterprise Security and Configuration with Group Policy Settings -- Implementing an Audit Policy (part 1) - Auditing Access to Files and Folders
- Active Directory 2008 : Managing Enterprise Security and Configuration with Group Policy Settings -- Managing Software with Group Policy (part 2)
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
Technology FAQ
- Is possible to just to use a wireless router to extend wireless access to wireless access points?
- Ruby - Insert Struct to MySql
- how to find my Symantec pcAnywhere serial number
- About direct X / Open GL issue
- How to determine eclipse version?
- What SAN cert Exchange 2010 for UM, OA?
- How do I populate a SQL Express table from Excel file?
- code for express check out with Paypal.
- Problem with Templated User Control
- ShellExecute SW_HIDE
programming4us programming4us