Topology activation failed. Each partition must have at least one index component from the previous topology in the new topology, in the same host.
2013-04-22 10:43
916 查看
在测试环境中, 如果在尝试修改search service application 的topology的时候, 遇到这样的报错:
解决方案
=============================
最佳解决方案应该是修改的同时保持原来的index component, Apply一次. 然后移除原来的index comonent, 再Apply一次.
由于笔者的是个测试环境, 所以不存在索引服务受干扰的问题, 所以直接就reset了index.
再次尝试apply命令Set-SPEnterpriseSearchTopology, 也成功的完成了!
所以如果图省事, 那么reset index也可以解决这个报错了.
PS C:\Users\administrator.P1119VSPEX> Set-SPEnterpriseSearchTopology -Identity $newTopology
Set-SPEnterpriseSearchTopology : Topology activation failed. Each partition must have at least one index component
from the previous topology in the new topology, in the same host. Otherwise this change could cause document loss.
At line:1 char:1
+ Set-SPEnterpriseSearchTopology -Identity $newTopology
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (Microsoft.Offic...tSearchTopology:SetSearchTopology) [Set-SPEnterpriseSea
rchTopology], SearchTopologyActivationException
+ FullyQualifiedErrorId : Microsoft.Office.Server.Search.Cmdlet.SetSearchTopology
Set-SPEnterpriseSearchTopology : Topology activation failed. Each partition must have at least one index component
from the previous topology in the new topology, in the same host. Otherwise this change could cause document loss.
At line:1 char:1
+ Set-SPEnterpriseSearchTopology -Identity $newTopology
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (Microsoft.Offic...tSearchTopology:SetSearchTopology) [Set-SPEnterpriseSea
rchTopology], SearchTopologyActivationException
+ FullyQualifiedErrorId : Microsoft.Office.Server.Search.Cmdlet.SetSearchTopology
解决方案
=============================
最佳解决方案应该是修改的同时保持原来的index component, Apply一次. 然后移除原来的index comonent, 再Apply一次.
由于笔者的是个测试环境, 所以不存在索引服务受干扰的问题, 所以直接就reset了index.
再次尝试apply命令Set-SPEnterpriseSearchTopology, 也成功的完成了!
所以如果图省事, 那么reset index也可以解决这个报错了.
相关文章推荐
- Developers’ Must-have: the new Microsoft All-In-One Code Framework Sample Browser and 3500+ samples
- Developers’ Must-have: the new Microsoft All-In-One Code Framework Sample Browser and 3500+ samples
- Entities exposed by DomainService operations must have at least one public property marked with the KeyAttribute
- Entities exposed by DomainService operations must have at least one public property marked with the
- Mondrian Error:Internal error: assert failed: In the current implementation, parent/child hierarchies must have only one level (
- CareerCup Find the smallest range that includes at least one number from each of the k sorted lists.
- 一道题目- Find the smallest range that includes at least one number from each of the k lists
- The view at ‘~/Views/Home/Index.aspx’ must derive from ViewPage, ViewPage, ViewUserControl, or ViewUserControl.
- ERROR: No pool defined. at least one pool section must be specified in config file
- 【Tensorflow】报错:ValueError: At least two variables have the same name
- java.util.zip.ZipException: ZIP file must have at least one entry
- xcode4.3发布报错 At least one of the following architecture(s) must be present: armv6 (-19033) 错误解决方法
- java.util.zip.ZipException:ZIP file must have at least one entry
- java.util.zip.ZipException:ZIP file must have at least one entry
- xcode 4.2 itunesconnect 上传时 At least one of the following architecture(s) must be present: armv6
- centos 16安装PHP7.0 异常 No pool defined. at least one pool section must be specified in config file
- xcode 4.2 itunes上传时 At least one of the following architecture(s) must be present: armv6 (-19033)
- PHP error:ERROR: No pool defined. at least one pool section must be specified in config file
- xcode4 上传app 报错At least one of the following architecture(s) must be present :armv6
- On Creating New Project in VS2013: Failed to Initialize the Powershell Host