dainiusjocas / vespa-lucene-linguistics-bundle

Contains a Vespa bundle jar with Lucene Linguistics to be used in non-Java Vespa applications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vespa-lucene-linguistics-bundle

Contains a Vespa bundle jar with Lucene Linguistics to be used in non-Java Vespa applications.

Instructions:

  1. Download a jar from Releases and add it to the application packages components directory.

  2. Add the Linguistics component specification to the services.xml file under the <container>:

<component id="linguistics"
           class="com.yahoo.language.lucene.LuceneLinguistics"
           bundle="lucene-linguistics-bundle">
  <config name="com.yahoo.language.lucene.lucene-analysis">
    <configDir>ext/linguistics</configDir>
  </config>
</component>
  1. Deploy to Vespa.

    vespa deploy -w 60
  2. Profit.

A demo application package can be found here.

About

Contains a Vespa bundle jar with Lucene Linguistics to be used in non-Java Vespa applications

License:Apache License 2.0