导入分布式LuceneIndex
这会将分布式 Lucene 索引从一个分布式 Lucene 缓存导入到另一个分布式 Lucene 缓存。 这将覆盖缓存上已定义的任何现有索引。
Import-DistributedLuceneIndex -SourceCache -SourceCacheServer -TargetCache [-TargtCacheServer]
Import-DistributedLuceneIndex 示例
此示例命令将分布式 Lucene 索引从位于服务器 20.200.20.11 的 SourceCache 复制到位于服务器 20.200.20.12 的 TargetCache。
Import-DistributedLuceneIndex -SourceCache sourceCache -TargetCache targetCache -SourceCacheServer 20.200.20.11 -TargetCacheServer 20.200.20.12
查看房源
备注
名称上带有星号 (*) 的参数为必填参数,其余为可选参数。
参数 | 数据类型 | 产品描述 | 默认值 |
---|---|---|---|
-SourceCache* |
<String> |
指定分布式 Lucene 索引所在的源缓存名称。 | - |
-SourceCacheServer* |
<String> |
指定源缓存所在的服务器地址。 | 本地机器 |
-TargetCache* |
<String> |
指定应该复制分发 lucene 索引的目标缓存名称。 | - |
-TargetCacheServer* |
<String> |
指定目标缓存所在的服务器地址。 | - |