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
2 answers

Issue accessing vespa outside docker container

Installed Docker on Mac and trying to run Vespa on Docker following steps specified in following link https://docs.vespa.ai/documentation/vespa-quick-start.html I did n't had any issues till step 4. I see vespa container running after step 2 and…
bigdata123
  • 453
  • 2
  • 8
  • 24
1
vote
1 answer

Support of different languages in vespa

Is there any feature to get same document in different languages? Here is my use case : If I am in USA then I should get data in english language and if I am in China I should get data in chinese language. I don't want to feed different documents…
Mohammad Sunny
  • 371
  • 1
  • 3
  • 15
1
vote
1 answer

How to apply test and set condition in yql query

Below is the search definition of my document. I have field "expire" which is a timestamp in my document.Now I want to search documents using yql query if isActive="1" and test.expire - now() > 0.Can I achieve this by query? search test { …
Mohammad Sunny
  • 371
  • 1
  • 3
  • 15
1
vote
1 answer

Is it possible to query objects filtering by nested attribute values or by array of objects?

I'm trying to compare vespa query capabilities with both ES and MongoDb but I'm having a hard time to figure out what kind of support the YQL has for advanced queries over JSON. (by the way, this would be an awesome post for vespa blog) For example…
epc
  • 194
  • 4
  • 12
1
vote
1 answer

Remove an element from struct type array using search query in vespa

I need to remove the element of an array of struct type.My json is given below.So what would be my query if I want search results where userID is "abcd" and I should get the elements of an array "data" where dd is equal to 1.I mean I should not get…
Mohammad Sunny
  • 371
  • 1
  • 3
  • 15
1
vote
1 answer

Upadate document in DocumentProcessor in vespa

How to add new field to existing document in DocumentProcessor when updating document using REST API. @Override public Progress process(Processing processing) { for (DocumentOperation op : processing.getDocumentOperations()) { …
Mohammad Sunny
  • 371
  • 1
  • 3
  • 15
1
vote
1 answer

Get all documents matching a query in vespa

I have total 1600 documents in vespa but using query I am only able to get 400 documents as there is limit of 400 in vespa. How can I get all documents using query in vespa or is there any other way to to do this. Here is the query I am…
Mohammad Sunny
  • 371
  • 1
  • 3
  • 15
1
vote
1 answer

Update vespa application without removing existing data

I want to update my vespa application on docker. I have added some new documents and also change and add some fields in existing documents.Also added java components in updated build. Now I want to deploy updated app on server without removing the…
Mohammad Sunny
  • 371
  • 1
  • 3
  • 15
1
vote
1 answer

How to monitor Vespa index disk usage and number of indexed documents

I am trying to monitor my Vespa cluster (with the help of the Prometheus exporter), but I can't find the right metrics to observe to know the space my index is taking, nor the space my replicas are taking. And I would also like to find a simple way…
dkurzaj
  • 346
  • 4
  • 13
1
vote
1 answer

Expected number of leaf groups to be a factor of redundancy, but it is not

I'm trying to deploy a Vespa cluster of 10 physical machines, each one containing 5 content nodes. The redundancy is set to 2 and I don't want the data and its replica on the same physical machine. So I created groups on content nodes representing…
dkurzaj
  • 346
  • 4
  • 13
1
vote
1 answer

Not able to add Postion(latitude and longitude) type field in Document dynamically in Vespa

DocumentAccess access = DocumentAccess.createDefault(); DocumentType type = access.getDocumentTypeManager().getDocumentType("location"); DocumentId id = new DocumentId("id:location:location::4"); Document document = new…
Mohammad Sunny
  • 371
  • 1
  • 3
  • 15
1
vote
1 answer

Intercommunication between Vespa application

I want to create an application in Vespa whcih fetch the data from some appications and feed into another applications.Example: I have three applications which have data named Location , User and Banner.Now what I want to create an app in vespa…
Mohammad Sunny
  • 371
  • 1
  • 3
  • 15
1
vote
1 answer

How to store a date field in Vespa?

I want to store a document which would have a field containing a date. What would be the best way to represent it and which type should I use in its "search definition" ? I have looked for a "date" type in the documentation…
dkurzaj
  • 346
  • 4
  • 13
1
vote
1 answer

How to perform a full-text search in Vespa?

I am trying to do a full-text search on a field of some documents, and I was looking for your advices on how to do so. I first tried to do this type of request: GET http://localhost:8080/search/?query=lord+of+the+rings But it was returning me the…
dkurzaj
  • 346
  • 4
  • 13
1
vote
1 answer

NO_SPACE - enumStoreLimitReached - enum store address space used

I am trying to feed a Vespa index, but I face a NO_SPACE error: Detail resultType=FATAL_ERRORexception='ReturnCode(NO_SPACE, Put operation rejected for document 'id:site-search:site::' of type 'site':…
dkurzaj
  • 346
  • 4
  • 13