Comments (7)
Hi @sephiartlist, that is correct. The reason for that is that most applications have the same name for schema and document which often means that http://hostname:8080/document/v1/music/music/docid/1
is the desired URL.
What is your use case, and how is the schema defined?
from pyvespa.
Well - In our case the deployment of the app was with a specific namespace
which was different from the schema
.
Actually - didn't recall how it was changed from the default.
The schema can be easily identified from the *.sd
file -
Where is the namespace defined when deploying the app?
from pyvespa.
I guess it is a wider issue - and it needs to be addressed also in
- delete_data
- feed_data_point
- delete_all_docs
from pyvespa.
I've update the application.py file to handle namespace
All public methods have been added an optional argument namespace
I'm using it internally but It has not been tested .
Since I'm not sure about your development environment - i'll be happy to submit a PR - but if you prefer you can incorporate it by yourself.
See amended application.py.txt
from pyvespa.
Hi @sephiartlist, I would be happy to review your PR if you want to create one. Let me know if you have questions about the development environment and any other issues that might block you.
from pyvespa.
Hi @thigm85 ,
I'll try setting up the development environment - do you have any specific guidelines for contributions?
I'll be grateful if you can review my approach for solving this issue (see the above application.py.txt
file), and direct me if you would like to take a different approach
from pyvespa.
Just submit a PR with the code changes and we can discuss it there.
from pyvespa.
Related Issues (20)
- What about increasing the minimum required Python version? HOT 1
- Add field to schema HOT 2
- No document can be fed because ostensibly there isn't enough disk space HOT 7
- Allow to add configuration to content HOT 2
- Dependency Dashboard
- Types for RankProfile.inputs HOT 1
- VespaSync::delete_all_docs only makes a single delete call HOT 1
- Better feed implementation/interface HOT 1
- Deprecation of PyVespa functionality HOT 1
- Add support for mode streaming with pyvespa HOT 1
- Add support for node resource specification and count
- Remove dependency on pandas
- Struct inconsistencie HOT 3
- Deploy with docker compose and similar setup vespa to other vector dbs HOT 5
- Manually deployed vespa with docker compose Failed to establish a new connection: [Errno 111] HOT 15
- clear explanation where does the docker container stores files HOT 1
- Type hint of RankProfile inputs HOT 3
- Make `add_fields()` method of `Schema` add them outside of document. HOT 1
- VespaAsync _open_aiohttp_session method doesn't need to be async
- add ability to manage client lifecycles outside of VespaClients
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 pyvespa.