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
0
votes
0 answers

How to run nearest neighbor search in vespa?

Trying to fetch closest neighbor for my given embedding, using below query: vespa query -v 'yql=select text from VectorSearch3_content where {targetHits:10}nearestNeighbor(embedding,q)' 'hits=1' 'ranking=closeness' 'input.query(q)=$Q' Getting…
0
votes
1 answer

Vespa.ai query service not available

I've deployed Vespa application with Docker with the following schema: schema bert_search { document bert_search { field title type string { indexing: attribute | summary } field hash type string { …
0
votes
1 answer

Vespa Text search tutorial: app.feed_df() not feeding data into the endpoint

Im trying out the text search tutorial with pyvespa. Ive followed the tutorial to the T, but am having issues with the data feeder. I have no idea why it is not uploading any docs in the batches as you can see in this screenshot. Has anyone else…
Alp
  • 1
  • 1
0
votes
1 answer

Vespa multi vector indexing throwing error

I tried to work with the Multi Vector Indexing feature of Vespa. I cloned the multi-vector-indexing repository: https://github.com/vespa-engine/sample-apps/tree/master/multi-vector-indexing When I tried to deploy the application package I was…
QCoder
  • 89
  • 4
0
votes
2 answers

Cannot get dynamic highlightings with Vespa

I'm looking for a small example to produce a dynamic summary from a string field. The content: {"wpsolr_title": "Hamster one"} The schema: field wpsolr_title type string { indexing: index | summary summary: dynamic } fieldset default { …
WPSOLR
  • 50
  • 1
  • 7
0
votes
3 answers

Partial matching with userInput in Vespa

I'm trying to get partial matching with userInput(). With a document title "toucan", I tried: "toucan" (works) "touca" (no results) "touca*" (no results) The query: ([{"prefix":true}]userInput(@query))) The schema: fieldset default { fields:…
WPSOLR
  • 50
  • 1
  • 7
0
votes
1 answer

Perform sort function based on key of map in vespa

We want to perform soring based on keys in a map. We have a map field in vespa of the type . Can we perform sorting based on the key values in map?
KRoy
  • 35
  • 4
0
votes
1 answer

Vespa.ai storage 0 down

I recently start using vespa, and I deployed a cluster on Kubernetes and index some data.. but toda one of storage shows down on "vespa-get-cluster-state": [vespa@vespa-0 /]$ vespa-get-cluster-state Cluster feature: feature/storage/0:…
0
votes
1 answer

parent-child mode: How to search document by child document field with text/string type

Seems that only attribute field can be imported. Besides, fields of struct can only be attribute indexing mode. So how can I implement function in vespa like the nested query (text field) in elasticsearch
0
votes
1 answer

content node Structure needs cleaning?

I have two content node, one will show the above error message, how can i fix this ? i am so confuse that i cannot deploy my app ! the stackoverflow show me this ! It looks like your post is mostly code; please add some more details. oh my god, i…
0
votes
2 answers

vespa deploy --wait 300 app-1-getting-started get error-code "METHOD_NOT_ALLOWED"

When I follow this article to practice vepsa https://docs.vespa.ai/en/tutorials/news-1-getting-started.html when i do this step vespa deploy --wait 300 app-1-getting-started i got this error { "error-code": "METHOD_NOT_ALLOWED", "message":…
0
votes
2 answers

vespa json object changes to string

i have vespa verion 5.220.14 installed in one server where i have used json (provided by gson lib ) in searcher, while i am deploying the same code in vespa version 5.550 in a diffrentserver it is not working and changing it to string. Attached are…
divyansh
  • 23
  • 1
  • 4
0
votes
1 answer

How to downgrade the version of the vespa engine installed in ec2 server

I have Vespa version 7.534.29 compiled with go1.15.14 on linux/amd64 how can i downgrade it to 7.220.14 as its causing my custom searchers to not work in production
divyansh
  • 23
  • 1
  • 4
0
votes
1 answer

vespa create user fails to create a new profile in db

get endpoint is working in vespa db installed in an ec2 server but while creating the new user in docname its giving us 500 error with logs in vespa as 1643432914.009710 172.18.3.75 24114/15 logserver …
divyansh
  • 23
  • 1
  • 4
0
votes
2 answers

Queries are very slow in local vespa

I am having difficulty executing correctly a vespa query. i want to query 2 different index fields with or between them, i want to to the equivalent of elastic match query. i got a lot of soft timeouts so i increased timeout to get the true result…