Comments (3)
Thanks a lot for sharing the screencast @wiradikusuma and for trying out Vespa! We'll review the quick start guide and improve it based on your feedback! Keep us posted!
from vespa.
I just ran through the quickstart from scratch and got the following (expected) output:
$ curl -s http://localhost:8080/search/?query=bad | python -m json.tool
{
"root": {
"children": [
{
"fields": {
"artist": "Michael Jackson",
"documentid": "id:music:music::1",
"duration": 247,
"sddocname": "music",
"title": "Bad",
"year": 1987
},
"id": "id:music:music::1",
"relevance": 0.254574922399675,
"source": "music"
},
{
"fields": {
"artist": "Eminem",
"documentid": "id:music:music::2",
"sddocname": "music",
"title": "So Bad",
"year": 2010
},
"id": "id:music:music::2",
"relevance": 0.05447959677335429,
"source": "music"
}
],
"coverage": {
"coverage": 100,
"documents": 2,
"full": true,
"nodes": 0,
"results": 1,
"resultsFull": 1
},
"fields": {
"totalCount": 2
},
"id": "toplevel",
"relevance": 1.0
}
}
$ curl -s http://localhost:8080/document/v1/music/music/docid/2 | python -m json.tool
{
"fields": {
"album": "Recovery",
"artist": "Eminem",
"title": "So Bad",
"year": 2010
},
"id": "id:music:music::2",
"pathId": "/document/v1/music/music/docid/2"
}
This is on macOS 10.12.6 running Docker version 17.06.2-ce.
What kind of output do you get from the curl command directly, i.e. omitting | python -m json.tool
?
Also, what resource limits have you set for Docker? I ran the above with 4 CPUs and 4GiB.
from vespa.
After trying for the 3rd time, with slower copy-paste pace (I wanted to do screencast to show the issue), it's now working. I'll close this. Thanks!
(for those who are curious, here's the screencast: https://cl.ly/1A291i222I2f)
from vespa.
Related Issues (20)
- Exceptions while performing Vespa Visit operation HOT 1
- Support `in` filtering operation in `sameElement` HOT 2
- Performance of vespa HOT 3
- [Feature request] Prefix match support fuzziness HOT 4
- Add secondPhase/globalPhase ranking features
- Short form for indexed tensors representing binary data requires "values" HOT 1
- Error when onnx model is fp16 HOT 3
- Generate a sample Vespa JSON payload given a Vespa tensor type
- Vespa CLI option to delete all documents in an application
- What's the difference between Tensor and Vector within other vector databases? HOT 1
- Vespa Deploy fails for application package with model files HOT 3
- Add matched-elements-only support for index fields
- Syntax support for configuring distance-metric within the field
- No 'input' query param when use "vespa query yql=xxx" HOT 4
- Support setting metrics-proxy heap size HOT 3
- All Search Nodes are crashing HOT 4
- Potential Memory Leak Issue in PrometheusModel class HOT 4
- Node coming up with latest deployed application version after being down HOT 5
- Configurable max token length
- Add embedding instruction prompt support for to hf-embedder HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vespa.