Compartilhar via


Add or remove a query component (Search Server 2010)

 

Tópico modificado em: 2010-02-22

Observação

  • You can modify a search topology only if you selected the Server Farm installation option when you installed Microsoft Search Server 2010.

  • Servidor de Pesquisa da Microsoft 2010 Express is an entry-level enterprise search solution that has limited scalability. In Search Server 2010 Express, the topology components of each Search service application must be on one server. Although it is possible to add topology components on that server, in most cases it is not useful. For information about scalable solutions for enterprise search in Produtos do Microsoft SharePoint 2010, see Diagramas técnicos (SharePoint Server 2010).

In Search Server 2010, query components return search results to the query originator. Each query component is part of an index partition, which is associated with a specific property database that contains metadata associated with a specific set of crawled content. You can distribute query load by adding mirror query components to an index partition and placing them on different farm servers. For more information about index partitions, see Add or remove an index partition (Search Server 2010).

Typically, a given index partition contains one or two query components depending on whether you want to provide load balancing or failover capabilities to the index partition. You can add more than two query components to an index partition, but in general, we recommend that in such cases, you instead create a new index partition.

You assign a server to service queries by creating a query component on that server. If you want to balance the load of servicing queries across multiple farm servers, add mirror query components to an index partition and associate them with the servers you want to service queries.

Observação

When you create a new index partition, the first query component in the index partition is created automatically.

To add a query component to an index partition

  1. Verify that the user account that is performing this procedure is a member of the Farm Administrators group.

  2. In Central Administration, in the Application Management section, click Manage service applications.

  3. On the Service Applications page, click the name of the Search service application to which you want to add a query component.

  4. On the Search Administration page, in the Search Application Topology section, click the Modify button.

  5. On the Manage Search Topology page, click a query component in the index partition that you want to modify, and then click Add Mirror.

  6. In the Add mirror query component dialog box, in the Server field, select the farm server to which you want to add the query component.

  7. The Associated Property Database field displays the property database that is associated with the index partition that you are modifying. This field cannot be changed while adding a mirror query component to an index partition.

  8. In the Location of Index field, you can optionally specify the location on the server that will be used for storage of the index files after receiving them from the crawl components. If you want to accept the default location, leave the contents of this field unchanged.

  9. In the Failover-only Query Component section, you can select the Set this query component as failover-only check box if you want the query component to receive queries only in the event of a failure of the primary query component in the same index partition.

  10. Click OK to add the new mirror query component to the job queue.

  11. On the Manage Search Topology page, click the Apply Topology Changes button to start the SharePoint timer job that will add the new mirror query component to the selected index partition.

    Observação

    You can make other changes to the Search topology and then apply them all at the same time by clicking the Apply Topology Changes button.

To remove a query component from an index partition

  1. Verify that the user account that is performing this procedure is a member of the Farm Administrators group.

  2. In Central Administration, in the Application Management section, click Manage service applications.

  3. On the Service Applications page, click the name of the Search Service Application from which you want to remove a query component.

  4. On the Search Administration page, in the Search Application Topology section, click the Modify button.

  5. On the Manage Search Topology page, click the query component that you want to remove, and then click Delete.

  6. In the message box that appears, click OK to add the removal of the query component to the job queue.

  7. On the Manage Search Topology page, click the Apply Topology Changes button to start the SharePoint timer job that will remove the query component from the selected index partition.

    Observação

    If you remove all of the query components from an index partition, the index partition is removed from the farm completely and all the data from the partition is copied and distributed into the remaining partitions. Depending on resource availability and the volume of data in the partition, this operation might take a long time and might affect farm performance. You cannot remove the last remaining index partition in a given Search service application.

    Observação

    You can make other changes to the Search topology and then apply them all at the same time by clicking the Apply Topology Changes button.