Indexing

Overview

Documents the indexing strategy.

This is a placeholder page with basic information and will be developed to fully document this aspect of the system.

Details

The domain objects are annotated to integrate with the Hibernate-search framework which combines the persistence mechanisms of Hibernate JPA with Lucene indexing. Annotations indicate which fields are to be indexed, whether the values are to be tokenized, and whether they are actually stored in the index.  In the current configuration, all identifier and textual fields are indexed.  Text fields are analyzed and identifiers are not.  The resulting documents from index searches yield only concept ids.

TODO: provide configuration settings 
 

TODO: explain use of multi-field parser to search all fields instead of a simple "default" field
TODO: explain IndexUtility and how discovery of indexed fields works

TODO: explain which objects are indexed
TODO: explain how n-gram indexing of AtomJpa supports "autocomplete"