Questions tagged [vespa]

Questions related to the open big data serving engine Vespa.

Use Stackoverflow for questions related to the open big data serving engine Vespa.

Info: http://vespa.ai

Documentation: http://docs.vespa.ai/

Github: https://github.com/vespa-engine

230 questions
1
vote
1 answer

Does Vespa support binary classifier model serving at feed time?

We want to classify documents as they are fed to Vespa using the API, and write those classification scores to document fields. I'm not sure if it's possible to simply add the ONNX model into Vespa's application package directory, have that model…
1
vote
1 answer

Detect if document update fails

This update-statement: curl -v -X PUT -d '{"fields":{"postings":{"assign":42}}}' http://localhost:8080/document/v1/post/post/docid/ABCDEFG Question: The post "ABCDEFG" does not exist - but the server answers "200 OK". Is there way to detect,…
doublemax
  • 443
  • 1
  • 4
  • 11
1
vote
2 answers

Vespa query filter - how to check whether a specific int is in a document's int array field

What's the proper way to check whether an integer is inside an array field when filtering in a Vespa query? Given the following field in a document: field location_ids type array { indexing: summary | attribute } I want to filter documents…
1
vote
1 answer

Application package in vespa

I am deploying an application package which I have stored locally using the command: curl --header Content-Type:application/zip --data-binary @application.zip localhost:19071/application/v2/tenant/default/prepareandactivate And then I am…
QCoder
  • 89
  • 4
1
vote
1 answer

search Chain not getting accepted in vespa

I am trying to add a searcher code in my java/ai/vespa/example path. The searcher code basically changes the Ngram Searcher from AND to OR. I added this searcher code path reference to services.xml
QCoder
  • 89
  • 4
1
vote
1 answer

Approximate nearest neighbors search returns too few results

I have 1M records in my db with such schema: schema embeddings { document embeddings { field id type int {} field text_embedding type tensor(d0[960]) { indexing: attribute | index attribute { distance-metric:…
eawer
  • 1,398
  • 3
  • 13
  • 25
1
vote
1 answer

Get only specific field from get_data feature of pyvespa

I am using pyvespa functionalities in my project. To get data from document, I am using get_data function supported by pyvespa. Is there a way to get only specific fields from this function and not all the fields? Thanks.
QCoder
  • 89
  • 4
1
vote
1 answer

Receiving responses of different formats for the same query in vespa

I have such schema schema embeddings { document embeddings { field id type int {} field text_embedding type tensor(d0[960]) { indexing: attribute | index attribute { distance-metric: euclidean } } …
eawer
  • 1,398
  • 3
  • 13
  • 25
1
vote
1 answer

Match the whole phrase using userInput in Vespa

Assume that I have two documents with the following content. { "title": "Windsor Farmhouse Wood Writing Desk Light Brown - Martin Furniture Furniture" } { "title": "Benjara 34 in. Rectangular Light Brown/White 1 Drawer Computer Desk, Light…
user1802604
  • 396
  • 3
  • 14
1
vote
1 answer

How to change ranking order for nearest neighbor search in Vespa?

Let's say I have such schema: schema embeddings { document embeddings { field id type int {} field text_embedding type tensor(d0[960]) { indexing: attribute attribute { distance-metric: euclidean } } …
eawer
  • 1,398
  • 3
  • 13
  • 25
1
vote
1 answer

Understanding the results of Vespa BERT embeddings

I am copying parts of the Simple Semantic Search sample application at https://github.com/vespa-engine/sample-apps/tree/master/simple-semantic-search to get started with dense vector search. I have indexed our website, dividing every page in…
Roope K
  • 101
  • 5
1
vote
1 answer

Vespa: Failed to fetch json: Connection error: socket write error

We have done deployment for Vespa using Kubernetes on the GKE cluster with 3 nodes while creating a Dockerfile we took Vespa 7.351.32 version as a base image and added a few more things to it GCloud SDK Some script files that copy our logs to…
Nitin G
  • 714
  • 7
  • 31
1
vote
1 answer

How to view details for error message "Bad Request" for Query API

Is there a way to see error details for debugging requests to the Query API? I am using OkHttpClient to make POST calls to the search endpoint. I am getting the following error message: Bad Request However, there are no other details in the error…
1
vote
1 answer

Where to see VESPA feed error detail log?

When I feed my file, sometimes "feeder.error.count" will not be zero, like below { "feeder.seconds" : 140.016, "feeder.ok.count" : 273229, "feeder.ok.rate" : 1951.416, "feeder.error.count" : 4, "feeder.inflight.count" : 85, …
1
vote
1 answer

Why Vepsa easily warning me " This may lead to recall and ranking issues."

I am doing parent-child mode, but when i deploy, vespa warn lots of my fields about "This may lead to recall and ranking issues." finally I found that, i easy the problem to just one sd file search vp001 { document vp001 { field saleno…