vespa icon indicating copy to clipboard operation
vespa copied to clipboard

Handle string type features in the HTTP query API

Open bratseth opened this issue 1 year ago • 1 comments

If an input is explicitly declared with type string:

inputs {
      query(my_feature) string  
}

We should allow and interpret it as a string in the HTTP query API.

bratseth avatar Jan 25 '24 12:01 bratseth

confusingly, the given declaration was allowed, but equivalent to

inputs {
      query(my_feature) double
      query(string) double
}

https://github.com/vespa-engine/vespa/pull/30355

arnej27959 avatar Feb 21 '24 08:02 arnej27959

This was fixed in Vespa 8.308.26.

geirst avatar May 22 '24 11:05 geirst