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

Reranking with tensorflow neural models in Vespa

I trained a rankprob model using tensorflow. The input to the model is a query and 2 documents. The model's output is the probability that doc1 is ranked higher compared to doc2. Is it possible to use this model as a level2 reranking in Vespa? If…
Ashish
  • 23
  • 2
1
vote
1 answer

How to send custom DocumentOperation to DocumentProcessing pipeline from a Processor?

Scenario: I've been stuck on this for way to long and I think solution might be easy but I just can't see it, this is the scenario: cURL POST to http://localhost:8080/my_imports (raw JSON data on body) -> MyImportsCustomHandler (extends…
AGuereca
  • 13
  • 3
1
vote
1 answer

Can I rely on sddocname being indexed?

Cannot find in your documentation anywhere wheter "sddocname" is automatically indexed , and therefore I can fully rely on the best possible performance when querying by sddocname. Thank you for answer
Gotys
  • 1,371
  • 2
  • 13
  • 22
1
vote
2 answers

Frequent GC on docprocservice and container

I'm running a performance test against vespa, the container looks slow to be unable to process the incoming more requests. Looked at vespa.log, there're lots of GC allocation failure logs. However, the system resources are pretty low (CPU<30%,…
user221074
  • 79
  • 7
1
vote
2 answers

Could not find host in the application's host system: 'vespa-container'

I deployed vespa docker image on two nodes, got the following errors while running '/opt/vespa/bin/vespa-deploy prepare', configs are as follows. If I replaced 'yyy.com' with 'localhost', it looks fine. Anyone know what was the issue? Session 21…
user221074
  • 79
  • 7
1
vote
3 answers

several questions about using vespa

Followed the instruction of http://docs.vespa.ai/documentation/vespa-quick-start.html and issued yql-like curl (curl -s http://localhost:8080/search/?yql=select%20%2A%20from%20sources%20%2A%3B), got the error msg as follows, "message": "Could not…
user221074
  • 79
  • 7
1
vote
2 answers

Pushing the limit of a content node

I have a question regarding how far can we push the limit of a content node. My setup is one machine being stateless, the other being a content node. I noticed that when pushing a lot of documents (around 50k characters), the node will fail around…
Robin
  • 46
  • 2
1
vote
1 answer

Passing Ranking function in query text

I have a scenario in which external agent generates ranking function dynamically which I want to pass as a query argument instead of statically defining it in search definition file, something like http://localhost:8080/search/?query=honda…
vandit.thakkar
  • 121
  • 1
  • 1
  • 6
1
vote
1 answer

Augment Query with ranking and query features powered externally?

While submitting http://localhost:8080/search/?query=honda car in vespa application with "honda car" as an unstructured query on automobile database. I have an external engine which powers query features and ranking features (weights) based on…
vandit.thakkar
  • 121
  • 1
  • 1
  • 6
1
vote
1 answer

Multi vespa docker containers per host?

PB: I have tried to deploy 5 vespa containers on two different hosts but I do not succeed to make my vespa nodes up. I named my 3 containers vespa0, vespa1 , vespa2 with port 8080, 8081, 8082 respectively on the first host and vespa3, vespa4 with…
Paul
  • 13
  • 3
1
vote
1 answer

Custom Searcher - Blending of hits from different sources

We have a need for "Blending of hits from different sources", as per your documentation it is recommended to write a custom-searcher in JAVA. Is there a demo of this written somewhere on Github ? I wouldn't even know where to start :( I understand I…
Gotys
  • 1,371
  • 2
  • 13
  • 22
1
vote
1 answer

why does vespa.ai eventually fails with No JSON object could be decoded on k8

So Vespa is so cool and useful but it is really hard to grasp :/ For example i have now containerized it on k8 and have deployed my application. (config and search/storage nodes in one pod/node the node distro is googles own container optimized OS).…
Lundin
  • 301
  • 4
  • 14
1
vote
1 answer

Can I match important Keywords in a string?

Consider a user inputs this search string to a news search engine: "Oops, Donald Trump Jr. Did It Again (Wikileaks Edition) :: Politics - Paste" Imagine we have a database of News Titles, and a database of "Important People". The goal here is: If a…
Gotys
  • 1,371
  • 2
  • 13
  • 22
1
vote
1 answer

Is there Vespa distribution for Debian machines?

Current Vespa distribution, rpm, works on RedHat linux. Is there any easy way to setup multi node vespa cluster on Debian Linux machines?
smadogar
  • 11
  • 1
1
vote
1 answer

Vespa Tutorial – HTTP API use-case fails to activate with IllegalArgumentException

I'm currently following the Vespa tutorials, and ran into an issue with the HTTP API use-case. Everything works fine from the mvn install package to the vespa-deploy prepare target/application.zip. The call to vespa-deploy activate returns normally,…
Shastick
  • 1,218
  • 1
  • 12
  • 29