From 9a0e5db44499987e4c34950e6d5e00659aa7a48f Mon Sep 17 00:00:00 2001 From: Radu Gheorghe Date: Tue, 3 Mar 2026 11:51:31 +0200 Subject: [PATCH] custom linguistics bundle - clarify deploying --- .../lucene-linguistics/custom-analyzer-phonetic/README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/lucene-linguistics/custom-analyzer-phonetic/README.md b/examples/lucene-linguistics/custom-analyzer-phonetic/README.md index 1ab6a10c9..c32a942bc 100644 --- a/examples/lucene-linguistics/custom-analyzer-phonetic/README.md +++ b/examples/lucene-linguistics/custom-analyzer-phonetic/README.md @@ -70,12 +70,14 @@ Phonetic analyzers don't come with the default linguistics bundle, so we need to ## Compile the application package +**NOTE**: This creates the custom linguistics bundle and copies it under `target/application/components`. ```bash mvn clean package ``` -## Deploy the application +## Deploy the application from target/application +**NOTE**: The app package from `target/application` should be the one from `src/main/application` plus the custom linguistics bundle. If you want to deploy the application package from somewhere else, you need to copy the bundle from `target/application/components` into a `components` directory under the root of that application package. ```bash vespa deploy target/application ``` @@ -125,4 +127,4 @@ YQL query parsed: [select * from doc where weakAnd(my_text contains ({stem: fals ] } } -``` \ No newline at end of file +```