AlvisIR semantic search engine
- Java >= 7
- Maven >= 3.0.5
Clone the git repository or download from https://github.com/Bibliome/alvisir
mvn clean package
./install.sh DIR
DIR is the base directory of your AlvisIR install.
The expander indexer reads resources for query expansion.
DIR/bin/alvisir-index-expander INDEX SPEC
DIR is the base directory of your AlvisIR install. You migh also add the bin sub-directory to the PATH environment variable.
INDEX is the path to the expander index. If INDEX already contains an index, then it will be cleared before creating the new expander index.
SPEC is the expander specification file.
DIR/bin/alvisir-search SPEC QUERY
DIR is the base directory of your AlvisIR install. You migh also add the bin sub-directory to the PATH environment variable.
SPEC is the index and search specification file.
QUERY is the query.
Deploy the the alvisir-web/target/alvisir-web-0.5-SNAPSHOT.war
file in your favourite application container.
For instance, on glassfish, run:
asadmin deploy --contextroot CONTEXT --name NAME alvisir-web/target/alvisir-web-0.5-SNAPSHOT.war
Set the following context parameters:
Variable | Description |
---|---|
configPath |
Absolute path to the UI specification file. |
From a browser open the URL http[s]://HOST/CONTEXT/webapi/search