Menu

LuceneIndex

Danche

Build Lucene index

this is a neccessary initialisation step that will index the ontology

cd repository_init
ant (skip this step if you are not a developer - this will copy the jars from
nli project into right places so only relevant if the code is changed and rebuilt)

  • Step 1:

./run_lucene_addClasses repositoryURL repositoryId ~/freya/index false

e.g.
./run_lucene_addClasses http://localhost:8081/openrdf-sesame testNative ~/freya/index false

  • Step 2:

./add_PropertiesDomainAndRangeToIndex http://localhost:8081/openrdf-sesame testNative ~/freya/index false

The lucene index should now be ready to use in user.home/freya/index


Related

Wiki: Home