Comments (16)
We don't provide images for Ubuntu. I guess it wouldn't be too hard to do I guess somebody would need to contribute it as we don't use Ubuntu. Perhaps you can do it?
Otherwise I suggest running Vespa inside a Docker image.
from vespa.
Not an issue @bratseth. I have used Vespa inside a Docker image. Thanks for the Quick Response.
In below line,
"curl -s --head http://localhost:8080/ApplicationStatus"
What is this "ApplicationStatus". Is it any project which runs under vespa engine ?
Above command is not giving me 200 OK result.
So, i was little bit confused. How can i resolve this? Please let me know if you have any suggestions for the same.
How can i start vespa-engine separately ?
Thanks
from vespa.
Is it any project which runs under vespa engine
It's a built-in API which provides information about status of the deployed application.
If you don't get 200 OK it means the server did not come up.
Run
vespa-logfmt
to check the log.
from vespa.
Yeah, Great!.
Now i got the 200 OK respone.
And i am able to run the Vespa 👍 .
Is there any way to connect the database?
I mean, i need to connect to the database(e.g. cassandra). So, is there any configuration i need to do in any project of vespa-engine?
from vespa.
We don't provide any Cassandra integration. Either PUT the documents one by one over HTTP, or, if you need high throughput use the Java HTTP client - http://docs.vespa.ai/documentation/vespa-http-client.html
from vespa.
Thanks for the quick response @bratseth .
java -jar $VESPA_HOME/lib/jars/vespa-http-client-jar-with-dependencies.jar --file feed.json --host localhost --port 8080
While executing above commange i am getting below error:
"Nov 01, 2017 4:48:27 PM com.yahoo.vespa.http.client.core.communication.IOThread cycle
INFO: Handshake did not work out localhost:8080 ssl=false"
i have deployed that "http-api-using-searcher" project and also build vespa-engine as well.
did i missed anything?
Please provide me some suggestion for the same.
from vespa.
Are there any warnings/errors in the log when you start? Check with
logfmt -l warning,error
Does it work to write single documents using the simple HTTP API as described here?:
http://docs.vespa.ai/documentation/document-api.html
from vespa.
The exact instructions in all our sample applications is tested by our build pipeline https://travis-ci.org/vespa-engine/documentation so most likely reason is that nothing runs on localhost:8080, can you telnet to it?
from vespa.
Yes, i am able to get the response from localhost:8080. But, Error remains the same while executing that command.
from vespa.
You mean telnet response or did you try the things I mentioned above?
from vespa.
Yes, i am talking about telnet response.
from vespa.
If you search for 'http-api-' in https://s3.amazonaws.com/archive.travis-ci.org/jobs/295691361/log.txt?X-Amz-Expires=29&X-Amz-Date=20171101T124053Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJRYRXRSVGNKPKO5A/20171101/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=a1d43b266d5b4230009588a6df8d2c071c8e3171be71a04760292880eb9173a2 you'll see how we test and execute the README.md for that particular sample application available here https://github.com/vespa-engine/sample-apps/tree/master/http-api-using-searcher so we know that these sample apps works.
vespa-logfmt (http://docs.vespa.ai/documentation/reference/logfmt.html) from inside the running docker container might give a hint about what's going on and if you are talking to a vespa or something else with forwarded to port 8080.
from vespa.
All the issues has been resolved and everything is UP and Running.
Thanks for the Support!
I just want to know that,
According to the sample-apps examples, It always search/feed and work using particular " *.json " file. If i want to change that it search from the database.. What should i need to do ?
How vespa search the data from external database ?
Is there any way to achieve this scenario ?
Please suggest me the way for the same.
Thank You!
from vespa.
You will need to export the data from the database, convert your DB schema to a Vespa document schema and index the data into Vespa using Vespa's json feed format.
from vespa.
Okay. So, is there any option available to convert my DB schema to a Vespa document schema ?
from vespa.
There is currently no tool that will automatically convert your DB schema to a Vespa schema no.
from vespa.
Related Issues (20)
- Vespa visit not returning deleted documents when selection criteria is added. HOT 3
- [Schema streaming mode] Enhence rank calculation for substring search HOT 5
- Make behaviour between `global` and `second` phase when `ranking.sorting=''` is given consistent HOT 1
- Allow multiple tensor outputs from native Vespa embedders HOT 3
- Pyvespa deployment fails HOT 5
- [Schema streaming mode] bm25 score is always zero HOT 2
- Array length as search criteria HOT 1
- Sorry couldn't find a discussion tab, so asking here. Can vespa be used as a primary database? HOT 3
- Evaluate onnx models with onnxruntime HOT 3
- Export Vespa golang client API as a library HOT 5
- Parse exception for regular expression HOT 2
- Make YQL Query Syntax Parse Exception more meaningful
- Case sensitive search not supported on index fields HOT 2
- special-tokens not applied for document, only query HOT 1
- Add a topk tensor function for mapped tensors
- Indexing language fails on an empty array HOT 2
- Reindexing is getting stalled
- Inconsistent rendering of string versus array of string with regards to unicode escaping HOT 2
- Vespa 9: Consider updating bm25 hyperparameter defaults
- Segmented And behaviour with weakAnd for CJK languages 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.