Import-LuceneIndex
This enables users to create a distributed Lucene Index from an existing native Lucene index without requiring to add documents.
Note
This feature is only available in NCache Enterprise and Professional.
Important
The minimum size of native indexes should be at least 10MB.
Import-LuceneIndex -Path -CacheName [-Server]
Examples of Import-LuceneIndex
This example command loads native Lucene index from C:\Index to a Distributed Lucene store demoCache.
Import-LuceneIndex -CacheName demoCache -Path C:\Index -Server 20.200.20.11
Properties
Note
The parameters with asterisk (*) on their names are the required parameters and the rest are optional.
Parameters | Data Types | Description | Default Value |
---|---|---|---|
-Path* |
<String> |
Specifies the path where native Lucene index is located | - |
-CacheName* |
<String> |
Specifies the name of the cache in which Lucene index is supposed to be loaded. | - |
-Server* |
<String> |
Specifies a server name where the NCache Service is running and a cache with the specified cache-name is registered. | Local Machine |