Import-DistributedLuceneIndex
This imports distributed Lucene indexes from a distributed Lucene cache to another distributed Lucene cache. This overwrites any existing indexes that have already been defined on the cache.
Note
This feature is only available in NCache Enterprise and Professional.
Import-DistributedLuceneIndex -SourceCache -SourceCacheServer -TargetCache [-TargtCacheServer]
Examples of Import-DistributedLuceneIndex
This example command copies distributed Lucene index from SourceCache located at server 20.200.20.11 to TargetCache located at server 20.200.20.12.
Import-DistributedLuceneIndex -SourceCache sourceCache -TargetCache targetCache -SourceCacheServer 20.200.20.11 -TargetCacheServer 20.200.20.12
Properties
Note
The parameters with asterisk (*) on their names are the required parameters and the rest are optional.
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. | - |