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

How to use multiple document processor in vespa.ai in separate search chain?

I need to use multiple document processor in my vespa use case. I have a condition where I need to modify feeds based on different conditions. I can not use document processor chaining. It has to be a separate one which I can use every time I insert…
suyash308
  • 347
  • 1
  • 7
2
votes
1 answer

Can I force memory usage of vespa-proton-bin?

I found vespa-proton-bin already used 68GB memory of my system. I've tried to limit memory on docker level and found that it will randomly kill process, which can be a huge problem. Is there any setting to force it just using certain amount of…
user2131907
  • 342
  • 1
  • 6
  • 14
2
votes
1 answer

Batch check document existence in Vespa

I have a list of docid and want to check if they exist in Vespa. If so, return a specific field of that docid. Currently, I'm doing this sequentially. Sample code in Python: import requests doc_urlbase =…
user2131907
  • 342
  • 1
  • 6
  • 14
2
votes
1 answer

Services fails to restart after reboot

Even after enabling vespa service on linux environment using systemctl enable vespa, the service fails to initialize as the service initialized before the network was ready and hence the service is not able to listen on the ports. Had to add…
RameshR
  • 61
  • 3
2
votes
1 answer

How to secure Tensorflow in Vespa?

According to the Tensorflow documentation, it is important to secure TF by isolating it properly: https://github.com/tensorflow/tensorflow/blob/master/SECURITY.md However, I don’t see a mention of that on the Vespa security documentation:…
Felix GV
  • 167
  • 1
  • 9
2
votes
1 answer

How typeahead search should be done in vespa?

I'm trying to build typeahead search using vespa. Since there is a lot of data, I don't want to use streaming mode. Wildcard search is something which I was expecting to see, but it looks restricted to streaming mode(Regular expressions and…
Raghu Venmarathoor
  • 858
  • 11
  • 28
2
votes
1 answer

Is there a spell checker in vespa

Is there a spell checker in vespa. I want to show suggestions, if the user enters a wrong keyword. A few google searches hinted at query rewriters. How can it be configured and used?
Raghu Venmarathoor
  • 858
  • 11
  • 28
2
votes
1 answer

Assigning value field of a struct in a Map<..,struct> deletes unspecified values

Im following the documentation: https://docs.vespa.ai/documentation/reference/document-json-update-format.html#assign-map-field When I update a single field of a struct in a map to struct the unspecified values are deleted. Is this an error or…
Narin
  • 81
  • 1
  • 4
2
votes
1 answer

Example for highlighting keywords vespa

In the documentation of features, it is said that search engine like keyword highlighting is supported in vespa. I couldn't find any example on how to implement it.
Raghu Venmarathoor
  • 858
  • 11
  • 28
2
votes
1 answer

Distinct values from a field in vespa

I'm using vespa to view some data. Consider the following data id product brand 1 a b1 2 b b1 3 c b1 4 d b2 5 e b3 I tried grouping to display the data from brand field. I…
Raghu Venmarathoor
  • 858
  • 11
  • 28
2
votes
1 answer

Custom request handler fails at startup

I'm writing a custom RequestHandler, extending from ThreadedHttpRequestHandler, and after running vespa-deploy prepare and vespa-deploy activate the logs are showing a recurring error. [2018-12-27 01:09:42.950] ERROR : container …
2
votes
2 answers

Vespa vs other no-sql databases

I have been going through Vespa documentation for a while but interested in understanding advantages and disadvantages of vespa over no-sql db's like hbase and cassandra as a key-value store. I don't see any blog/post about it. 1) For…
bigdata123
  • 453
  • 2
  • 8
  • 24
2
votes
1 answer

Remove index from all Vespa cluster nodes

Is there a way to remove an index (its documents) from all the nodes of the same cluster ? For now, I'm following this command: $ /opt/vespa/bin/vespa-stop-services && /opt/vespa/bin/vespa-remove-index -force &&…
dkurzaj
  • 346
  • 4
  • 13
2
votes
2 answers

Getting null value when accessing fields from result in Searcher in Vespa

My Searcher is given below. When I hit search API then in my Searcher, I am getting null values when I tried to get fields of document. I am able to get id, relavance and source but not fields. Why is it so?Am I doing something wrong? Please…
Mohammad Sunny
  • 371
  • 1
  • 3
  • 15
2
votes
2 answers

Total count of particular document in vespa

I have multiple documents in vespa and I want to get total count of documents of particular type of document.How can I get this? Is there any way to get this?
Mohammad Sunny
  • 371
  • 1
  • 3
  • 15