These instructions will show how to generate Lucene search and auto suggest indices from the tables in the i2b2 i2b2metadata database. Typically one admin - usually the hub admin - with take responsibility for generating the indices and share them with all other nodes in the network.
Here is an example category definition file.
\\i2b2_DEMO\i2b2\Demographics,Demographics,Demographic \\i2b2_DIAG\i2b2\Diagnoses,Diagnoses,Diagnosis,Diagnoses ICD9 \\i2b2_EXPR\i2b2\Expression Profiles Data,,Expression Profiles Data \\i2b2_LABS\i2b2\Labtests,Labs,Laboratory Test \\i2b2_MEDS\i2b2\Medications,Medications,Medication \\i2b2_PROC\i2b2\Procedures,Procedures,Procedure \\i2b2_PROV\i2b2\Providers,Providers,Provider \\i2b2_REP\i2b2\Reports,Reports,Report \\i2b2_VISIT\i2b2\Visit Details,Visit Details,Visit Detail \\ICD10_ICD9\Diagnoses,Diagnoses,Diagnosis,Diagnoses ICD10 \\PHI\PHI,PHI,Protected Health Information \\BIRN\BIRN,BIRN,BIRN \\Custom Metadata\Custom Metadata,Custom Metadata |
java -jar shrine-ontology-lucene-indexer-4.0.0-jar-with-dependencies.jar -o <insert exported data directory> -c <insert category definition file> |
java -jar shrine-ontology-lucene-indexer-4.0.0-jar-with-dependencies.jar -a -o <insert exported data directory> -c <insert category definition file> |
java -jar shrine-ontology-lucene-indexer-4.0.0-jar-with-dependencies.jar -p '\t' -o <insert exported data directory> -c <insert category definition file> |
java -jar shrine-ontology-lucene-indexer-4.0.0-jar-with-dependencies.jar |