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

Running vespa in separate container for configserver and services

I referenced the link https://docs.vespa.ai/documentation/docker-containers-in-production.html to control the config server and services in two different docker containers. I have a single machine on which I am trying to run separate containers for…
3
votes
1 answer

Any examples of using a Wandsearcher in vespa ? (After a weighted set query)

Currently i am using the REST interface to query vespa, which seems to work great but something tells me that i should be using searchers in the application to make the client(server side code) a bit lighter (bundle the jar file in the application…
Lundin
  • 301
  • 4
  • 14
3
votes
1 answer

Possible to bucket on count()?

is it possible to bucket on the count() of aggregates? The grammar Select parameter language grammar seems to suggest that it is but I could be interpreting it wrong. My rough interpretation: predefined([expr = (aggr = (count())], bucket(...)) (…
Narin
  • 81
  • 1
  • 4
3
votes
1 answer

Vespa application config best practices

What is the best way to dynamically provide configuration to a vespa application? It seems that the only method that is talked about is baking configuration values into the application package but is there any way to provide configuration values…
3
votes
1 answer

Vespa search query (on array) gives hits even after removing the element from array

I am querying vespa to check if a particular userId is present in an array of userIds. http://localhost:8080/search/?yql=select * from sources doc where userIds contains 'user1'; Search Definition: search doc { document doc { field…
3
votes
2 answers

Is there an alternative for faceted search in vespa?

I'm evaluating vespa, but couldn't find any reference to faceted search (https://lucidworks.com/2009/09/02/faceted-search-with-solr/) in vespa.ai documentation. Is there a similar feature in vespa?
Raghu Venmarathoor
  • 858
  • 11
  • 28
3
votes
1 answer

How to add custom filter bundle in Vespa to enable CORS?

I have followed the question Enable CORS in vespa and have written and build a new custom "filter-bundle" package with RequestFilter and ResponseFilter that adds headers enabling CORS. This is my pom.xml file for building the bundle
3
votes
1 answer

How processed tokens get stored in base index in Vespa?

While working with search definition which looks like search music{ document music{ field title type string { indexing: summary | attribute | index } } } if I use my custom logic of tokenizing string by…
vandit.thakkar
  • 121
  • 1
  • 1
  • 6
3
votes
1 answer

Is referencing a document more query optimized than having field array type in the document?

Assume we have a person and activity searchdefinitions. To find a the activities made by a person once can use the array type and match:word (many person can share the same activity) in the activity sd and then simply search for the person in the…
Lundin
  • 301
  • 4
  • 14
3
votes
1 answer

kubernetes gce ingress path wildcard not proxy correct uri (works inside container)

What can be the reason for not being able to curl/use a rest API with some slugs i.e example.com/application/v2/xxxx.The docker image i use is the app from http://vespa.ai/ https://github.com/vespa-engine/docker-image/blob/master/Dockerfile I have…
Lundin
  • 301
  • 4
  • 14
3
votes
2 answers

How to include imported fields in the search results?

I'm using document references to import parent fields into a child document. While searches against the parent fields work, the parent fields themselves do not seem to be included in the search results, only child fields. To use the example in the…
3
votes
2 answers

How to make aggregations fast on Vespa?

We have 60M documents in an index. hosted on 4 nodes cluster. I want to make sure the configuration is optimised for aggregations on the documents. This is the sample query: select * from sources * where (sddocname contains ([{"implicitTransforms":…
enator
  • 2,431
  • 2
  • 28
  • 46
3
votes
2 answers

Vespa Tutorial – Pig Failing to connect to local Vespa endpoint: URISyntaxException

When following Vespa's tutorial about blog recommendation I ran into an issue connecting to the local Vespa endpoint when calling Pig from the command line with ENDPOINT=$(hostname):8080: ERROR org.apache.pig.PigServer - exception during parsing:…
Shastick
  • 1,218
  • 1
  • 12
  • 29
3
votes
2 answers

Vespa - Proton: Custom bucketing & Query

References: id scheme Format: id:::: http://docs.vespa.ai/documentation/content/buckets.html http://docs.vespa.ai/documentation/content/idealstate.html its possible to structure data in…
shwetank
  • 115
  • 3
  • 7
3
votes
1 answer

Retrieving documents from Vespa at scale

I am looking for an overview on what is required and how to connect with Vespa for retrieving indexed data at scale. i've run stress tests on Vespa document RESTful API and as suggested in documentation, it has an upper…
shwetank
  • 115
  • 3
  • 7
1 2
3
15 16