Coder Social home page Coder Social logo

alvisir's Introduction

AlvisIR

AlvisIR semantic search engine

Prerequisites

  • Java >= 7
  • Maven >= 3.0.5

Download

Clone the git repository or download from https://github.com/Bibliome/alvisir

Build and install from the package homedir

mvn clean package

Command-line interface

Install from the package homedir

./install.sh DIR

DIR is the base directory of your AlvisIR install.

Using the expander indexer

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.

Using the command-line search

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.

Web service

Deploy

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 context parameters

Set the following context parameters:

Variable Description
configPath Absolute path to the UI specification file.

Use it

From a browser open the URL http[s]://HOST/CONTEXT/webapi/search

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.