Contains a Vespa bundle jar with Lucene Linguistics to be used in non-Java Vespa applications.
Instructions:
-
Download a jar from
Releases
and add it to the application packagescomponents
directory. -
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>
-
Deploy to Vespa.
vespa deploy -w 60
-
Profit.
A demo application package can be found here.