Questions tagged [vespa]

Questions related to the open big data serving engine Vespa.

Filter by
Sorted by
Tagged with
1 vote
1 answer
25 views

Vespa - ReturnCode(NO_SPACE, External feed is blocked due to resource exhaustion: in content cluster)

Facing error while feeding data to vespa - ReturnCode(NO_SPACE, External feed is blocked due to resource exhaustion: in content cluster 'neighbors': disk on node 0 [vespa-tutorial] is 85.0% full (the ...
Kaushal Singh's user avatar
1 vote
1 answer
32 views

Rank by maximum bm25 score on a field of type array<string>

I have a schema that has a field of type array<string>: field titles type array<string> { indexing: index | summary | attribute index: enable-bm25 attribute: fast-...
teovob's user avatar
  • 13
1 vote
1 answer
40 views

How could autocomplete be implemented in Vespa search?

I am looking into ways to implement autocomplete in Vespa. Requirements: Needs to handle large scale (~2000RPS) Personalized ranking Latency under 100ms Able to handle mistypes Able to match ...
El Beno's user avatar
  • 11
1 vote
1 answer
59 views

Vespa counts the number of times a word appears in a string

I have a question, i can try to find, how to calculate number of times, when searched word appears in a string. For example, have schema like this. schema search { document search { field ...
igor tarashchuk's user avatar
-1 votes
2 answers
37 views

Feeding documents in Vespa

Struggling to feed in document in Vespa using json file. Getting 400 response.
Kaushal Singh's user avatar
2 votes
1 answer
38 views

Utilizing vespa only as vector database and not embedder

I have utilized Vespa when trying to store embedding embedded using some model defined in services.xml file. However, I intend to generate embeddings externally and store them in Vespa and utilize it ...
Kaushal Singh's user avatar
0 votes
1 answer
36 views

How to view Vespa Embedding?

I tried the following block of code to implement nearest neighbor search algorithm in Vespa. https://docs.vespa.ai/en/nearest-neighbor-search-guide.html I was able to run it successfully but was ...
Vidya Lakshmy's user avatar
1 vote
1 answer
30 views

Vespa DB nearestNeighbor search -- Invalid query parameter -- Expected 'query(...)' to be a tensor, but it is the string

While trying to do nearestNeighbor search on embeddings I am getting a query error, though no error logs are present in Vespa container. Documentation link: https://docs.vespa.ai/en/nearest-neighbor-...
Rogue 's user avatar
  • 13
1 vote
1 answer
49 views

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' '...
Kaushal Singh's user avatar
1 vote
1 answer
44 views

Issue with Mutual TLS Authentication Setup on Vespa Data Plane

I have set up mutual TLS authentication on my Vespa Data Plane by configuring a TLS certificate, following the steps outlined in the Vespa security guide: https://cloud.vespa.ai/en/security/guide. The ...
Hrithik Raj's user avatar
1 vote
1 answer
88 views

How to deploy an application in Vespa to a remote target using pyvespa?

I have Vespa running in a container (using Docker compose) and want to deploy my application package from another container in the same network using pyvespa. The vespa deploy command of Vespa CLI has ...
medihack's user avatar
  • 16.2k
0 votes
1 answer
85 views

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 ...
Daniel Jankowski's user avatar
3 votes
1 answer
78 views

Can I uses an alias instead of the schema name?

Is it possible in Vespa to use an Alias instead of the actual schema/document name when doing queries? A similar feature to what we have in Elasticsearch Instead of doing: select * from source_name ...
lsena's user avatar
  • 133
0 votes
1 answer
65 views

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 ...
Alp's user avatar
  • 1
0 votes
1 answer
54 views

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 ...
QCoder's user avatar
  • 89
0 votes
2 answers
74 views

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 { ...
WPSOLR's user avatar
  • 50
0 votes
3 answers
110 views

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 ...
WPSOLR's user avatar
  • 50
1 vote
1 answer
60 views

What are the minimum settings for Vespa's YQL userInput to work?

I'm trying to understand how to make a userInput() work, with the minimum of settings. I could not retrieve results for keyword "product", even with "product 1" in some document ...
WPSOLR's user avatar
  • 50
1 vote
1 answer
94 views

What's the most efficient way to include Vespa document keywords in ranking at query time?

We have a situation where we want to search text against category documents, which are enriched by a keywords field. These keywords are terms and phrases curated by subject matter experts and GPT. We ...
standalone_2045's user avatar
2 votes
1 answer
130 views

Is there a Kibana equivalent for Vespa Search?

I want to be able to quickly make index, modify schema, feed test data, delete data, copy/clone index, run queries on the index from the web interface - just like I can do with Elasticsearch. Is there ...
rrh's user avatar
  • 45
2 votes
1 answer
167 views

How to delete all documents in a Vespa index?

What is a clean way to delete all documents in a Vespa index and leave everything else as it is? Please share API or Vespa CLI option, if it exists. I want to empty the index, all docs at once. I ...
rrh's user avatar
  • 45
1 vote
1 answer
67 views

How do you get bolding to work in vespa searcher?

Just started with Vespa a week ago. When doing this with vespa and yql, it works perfectly and I'm able to see bolding. https://docs.vespa.ai/en/reference/schema-reference.html#bolding Though I'm ...
Ashish Jayan's user avatar
1 vote
1 answer
46 views

Float and double value not getting updated in vespa

I am trying to update a field created_at with a timestamp value. This created_at field, I have stored it as a float datatype. But it is not storing the value correctly. Even after a difference of 10-...
QCoder's user avatar
  • 89
0 votes
1 answer
34 views

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 <string, int>. Can we perform sorting based on the key values in map?
KRoy's user avatar
  • 35
1 vote
1 answer
57 views

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 ...
standalone_2045's user avatar
-1 votes
1 answer
137 views

Indexing in Vespa is slow

When indexing in local Vespa, the indexing is slow. My configuration: ` <container id="default" version="1.0"> <search /> <document-api /> <nodes&...
dany's user avatar
  • 28
0 votes
1 answer
57 views

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-...
João Paulo Masiero's user avatar
0 votes
1 answer
31 views

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 ...
Tanzhenghai's user avatar
1 vote
1 answer
54 views

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 "...
doublemax's user avatar
  • 453
1 vote
2 answers
290 views

Vespa query filter - how to check whether a specific int is in a document's int array<int> 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<int> { ...
standalone_2045's user avatar
1 vote
1 answer
282 views

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/...
QCoder's user avatar
  • 89
2 votes
1 answer
51 views

Preserving word order in Vespa in non-English

I am creating a schema for Vespa mainly for English, but with two fields in Wylie transliteration of Tibetan, which looks like this 'jam dpal smra ba'i seng ge la bstod pa ut+pal dmar po'i do shal ...
Roope K's user avatar
  • 101
2 votes
1 answer
123 views

Vespa semantic search with own dataset

I am learning the basics of vector search in Vespa and went through https://github.com/vespa-engine/sample-apps/blob/master/msmarco-ranking/passage-ranking-README.md . I studied the four-part blog ...
Roope K's user avatar
  • 101
1 vote
1 answer
40 views

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's user avatar
  • 89
1 vote
1 answer
117 views

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<double>(d0[960]) { indexing: ...
eawer's user avatar
  • 1,408
2 votes
1 answer
133 views

Ranking in fuzzy match in vespa

Looks like while doing fuzzy matching in vespa, ranking is not getting applied to the documents. All the documents have a similar relevance score, which is the score achieved from any one document ...
QCoder's user avatar
  • 89
1 vote
1 answer
58 views

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 ...
QCoder's user avatar
  • 89
1 vote
1 answer
48 views

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<double>(d0[960]) { indexing: attribute | index attribute {...
eawer's user avatar
  • 1,408
2 votes
1 answer
234 views

How to perform exact nearest neighbors search in Vespa?

I have such schema schema embeddings { document embeddings { field id type int {} field text_embedding type tensor<double>(d0[960]) { indexing: attribute | index attribute {...
eawer's user avatar
  • 1,408
1 vote
1 answer
117 views

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": &...
user1802604's user avatar
1 vote
1 answer
57 views

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<double>(d0[960]) { indexing: attribute ...
eawer's user avatar
  • 1,408
1 vote
1 answer
233 views

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 ...
Roope K's user avatar
  • 101
2 votes
1 answer
53 views

Vespa content node search threads not reflecting in vespa-get-config

After configuring application package with: <proton> <tuning> <searchnode> <requestthreads> <search>88</...
S.Glick's user avatar
  • 63
1 vote
1 answer
130 views

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 ...
Nitin G's user avatar
  • 734
2 votes
1 answer
225 views

How filtered document list look up work in nearest neighbour search prefiltering

In pre-filter based ANN, once we have list of documents after applying pre-filter, vespa starts hsnw algorithm to find nearest neighbours. In hsnw algorithm, vespa starts with a node and look for the ...
tourism's user avatar
  • 155
0 votes
1 answer
122 views

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 ...
user2666618's user avatar
2 votes
1 answer
38 views

Rank score in summary-features

Looking for a way to always have the executed rank profile score as part of the summary (rather than configure it explicitly for each new rank profile (by adding the function used under summary-...
S.Glick's user avatar
  • 63
2 votes
1 answer
48 views

Using imported fields as summary not working

While testing out parent/child feature, created 2 schemas. Child schema: schema item { document item { field id type long { indexing : attribute } field ...
S.Glick's user avatar
  • 63
1 vote
1 answer
97 views

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 ...
masterllama's user avatar
1 vote
1 answer
225 views

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"...
user2666618's user avatar

1
2 3 4 5