Import-DistributedLuceneIndex
The Import-DistributedLuceneIndex
cmdlet imports distributed Lucene indexes from a distributed Lucene cache to another distributed Lucene cache. This cmdlet overwrites any existing indexes that have already been defined on the cache.
Import-DistributedLuceneIndex -SourceCache <string> -SourceCacheServer <string> -TargetCache <string> [-TargtCacheServer <string>] [<CommonParameters>]
These properties are explained in detail in the Properties section.
Examples
- This example command copies distributed Lucene index from SourceCache located at server 20.200.20.39 to TargetCache located at server 20.200.20.40.
Import-DistributedLuceneIndex -SourceCache sourceCache -TargetCache targetCache -SourceCacheServer 20.200.20.39 -TargetCacheServer 20.200.20.40
Properties
Note
All parameters are mandatory.
Parameters | Data Types | Description | Default Value |
---|---|---|---|
-SourceCache |
<String> |
Specifies the source cache name where distributed Lucene indexes are located. | - |
-SourceCacheServer |
<String> |
Specifies the server address where source cache is located. | Local Machine |
-TargetCache |
<String> |
Specifies the target cache name where distribute lucene index is supposed to be copied. | - |
-TargetCacheServer |
<String> |
Specifies a server address where the target cache is located. | - |