• SharePoint 2013中的Index Partition的一个小问题


    前面的文章中, 我用脚本配置了一个Search Service Applicaiton, 修改了拓扑逻辑.

    但是笔者在search administration中发现了下面的小问题.

    image

    这个(2)是什么意思?

    笔者仔细查看, 发现原来三十多个G的index文件, 在修改index文件位置后了的文件夹中只有十六个G左右.

    笔者想要的是index文件全部转移到一个文件夹下, 而现在看起来似乎index文件被分成了两份, 放在同一个运行着Index Partition 0的服务器上.

    来, PowerShell看看.

    $ssa = Get-SPEnterpriseSearchServiceApplication
    $currentActiveTopo = Get-SPEnterpriseSearchTopology -SearchApplication $ssa | Where-Object {$_.State -eq "Active"}
    $components = $currentActiveTopo.GetComponents()
    $components_app2=$components | Where-Object {$_.ServerName -eq "APP2-SPS2013"}
    $components_app2 
    

    果然有两个Index Component.

    image

    我们学到了什么?

    在SharePoint 2013中, 同一台server上如果运行同一个Index Partition的有两个IndexComponent, 那么就相当于在一台server上有了两个Index Partition. –_-||

    还是移除那个原装的IndexComponent吧.

    使用到的PowerShell命令是Remove-SPEnterpriseSearchComponent.

    参考资料

    ============================

    Manage search components in SharePoint Server 2013

    http://technet.microsoft.com/en-us/library/jj862354.aspx

  • 相关阅读:
    Leetcode: Find Median from Data Stream
    Leetcode: Flip Game II
    Leetcode: Flip Game
    Leetcode: Nim Game
    Leetcode: Word Pattern II
    Leetcode: Word Pattern
    Leetcode: Game of Life
    Leetcode: Alien Dictionary && Summary: Topological Sort
    Leetcode: Unique Word Abbreviation
    Leetcode: Find the Duplicate Number
  • 原文地址:https://www.cnblogs.com/awpatp/p/2953437.html
Copyright © 2020-2023  润新知