/
Indexing

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 the "all" field approach with an example annotation and code for lookup.