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

How to take backup documents in Vespa

I have an instance on which Vespa is installed. This system is acting as admin as well as content node and cluster node. We are also using the embedded zookeeper in Vespa for our use case. Requirement: How can we take a backup (of documents and…
Yash Kasat
  • 203
  • 1
  • 5
1
vote
1 answer

Without session id, how to find the content url of application. I only know the application name

If I know only the application name, want to have a look at its schema, what can I do? In other words, how to get the conent url of application by application name?
1
vote
0 answers

The vespa returns an error when I put one document with documentAPI

I build vespa, and install it on physical machine, call /opt/vespa/bin/vespa-start-configserver and /opt/vespa/bin/vespa-start-services . I submit my application package normally, and…
1
vote
1 answer

Unable to setup Vespa container on multiple instances

I have two instances where I have to deploy Vespa on a docker container. One container will act as a config cluster, container cluster, and content cluster while the other will act as a container cluster and content cluster. host.xml file for the…
Yash Kasat
  • 203
  • 1
  • 5
1
vote
1 answer

How can we deploy vespa.ai application on multiple docker container running on separate instances using kubernetes?

I need to deploy Vespa.ai docker containers on multiple instances (3) using kubernetes. What configuration changes do I have to do in my application package or in docker so that I can run the admin node, container node, content node on separate…
sarvesh
  • 11
  • 1
1
vote
2 answers

Getting same record on multiple pages, when implemented pagination in vespa

I am getting same record on different pages when implementing pagination using group by. I am using the query mentioned below: http://:/search/?yql=select * from sources document_name where sddocname contains 'document_name' |…
Yash Kasat
  • 203
  • 1
  • 5
1
vote
1 answer

How to do pagination using groupby in vespa.ai?

I have tried below query- http://:/search/?yql=select * from sources document_name where sddocname contains 'document_name' | all(group(key) each(each(output(summary())))) ; The result I got- { "root": { "id": "toplevel", …
suyash308
  • 347
  • 1
  • 7
1
vote
1 answer

How to find distinct records in vespa.ai?

We have a use case where we need to find out the distinct (unique) records. We have 5 different keys in a document they are all searchable, need to find the distinct records using one key. I also need to implement pagination on that distinct…
suyash308
  • 347
  • 1
  • 7
1
vote
1 answer

Is there any way in vespa.ai by which I can query with shuffled query strings?

I have a full_name field in my dataset, which contains first_name and last_name. "fields": { "full_name": "first_name last_name" } I need to query using the following conditions- //1. with first_name last_name search/?yql=select * from sources…
suyash308
  • 347
  • 1
  • 7
1
vote
1 answer

Are there any Grafana dashboards available for Vespa metrics?

We're using the exporter (https://github.com/vespa-engine/vespa_exporter) to get Vespa metrics into Prometheus. Are there any Grafana dashboards available that could be exported and shared?
Eddie Ng
  • 13
  • 3
1
vote
1 answer

Bulk insert/update Vespa documents via HTTP POST and PUT method

My script will generate a list of document to be inserted into Vespa. Current, I'm using HTTP POST/PUT to insert/update one document per request. This can be slow if I need to insert a lot of documents. Hence, I'd like to know if there's more…
user2131907
  • 342
  • 1
  • 6
  • 14
1
vote
2 answers

Table name 'like' in vespa.ai

Is the table name like forbidden in the Vespa engine? YQL: select * from sources like where text contains "test"; Result: { "root": { "id": "toplevel", "relevance": 1, "fields": { "totalCount": 0 }, "errors": [ { …
doublemax
  • 443
  • 1
  • 4
  • 11
1
vote
1 answer

Characters to split the user-query in Vespa engine

We split the user-query on ascii spaces to create a weakAnd(...). The user-input "Watch【Docudrama】" does not contain a whitespace - but throws an error. Question: Which codepoints beside whitespaces should be used to split the query? YQL…
doublemax
  • 443
  • 1
  • 4
  • 11
1
vote
1 answer

Partial results if a Vespa-query times out

If one document in the result-set is a huge document (several MBs), then: The query times out (it seems that querying is fast - but creating snippets using summary: dynamic times out) children: [...] contains only garbage information Is one of…
doublemax
  • 443
  • 1
  • 4
  • 11
1
vote
1 answer

Snippet creation in Vespa

YQL (simplified): select * from sources * where language contains "de" and description contains "computer"; Result (simplified): { "root": { ... "children": [ { "id": "id:post:post::123", "relevance": 0, …
doublemax
  • 443
  • 1
  • 4
  • 11