vespa icon indicating copy to clipboard operation
vespa copied to clipboard

Query rewriting using finite state automaton embedded in application package

Open kristoffer-bernhem opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe. I am attempting to write query rewriting backed by FSA for list of stopwords to exclude on Vespa cloud. Keeping the FSA file up to date with the definitions of the query rewrite is difficult as there is no way to include the FSA file in the application package being uploaded to the Vespa servers, instead the file needs to be moved to the server manually. With multiple deployments, and rolling updates, this becomes very tricky to manage correctly.

Describe the solution you'd like I would like to be able to include FSA files in the application package and reference them relative application root. This would allow us to have the FSA files in sync with the query rewrites during rolling updates / rollbacks and would simplify deployment significantly.

kristoffer-bernhem avatar Aug 17 '23 08:08 kristoffer-bernhem

@hmusum / @geirst - can we use the new path config to make this work?

kkraune avatar Dec 06 '23 09:12 kkraune