Skip to end of metadata
Go to start of metadata
Contents Summary
 

The code in below examples uses some methods defined in Common Utilities

Loading Index

If the index already created it can be loaded by following the given steps:

The Recipe

  • Initialize the object of Index by passing the path of an existing index to it. If the index does not exist in specified folder new index will be created.

The Code

Loading Index to Index Repository

An index can be loaded to IndexRepository by following the given steps:

The Recipe

  • Initialize the object of Index by passing the path of an existing index to it. If the index does not exist in the specified folder new index will be created.
  • Declare repository object of IndexRepository class
  • Add an index to IndexRepository

The Code

Labels
  • No labels