patrickfrey / strusWebService

web service (HTTP/JSON) to use the strus API as a service
http://project-strus.net
Mozilla Public License 2.0
4 stars 0 forks source link

[CLOSED] create parameters in request are not well-implemented #3

Closed andreasbaumann closed 6 years ago

andreasbaumann commented 6 years ago

Issue by andreasbaumann Saturday Apr 16, 2016 at 18:14 GMT Originally opened as https://github.com/Eurospider/strusWebService/issues/3


Only the part using the default parameters is currently implemented. They cannot be ommited in the request. They are not persistent across sessions.

andreasbaumann commented 6 years ago

Comment by andreasbaumann Monday May 30, 2016 at 09:34 GMT


explicit create parameters are completly ignored.

andreasbaumann commented 6 years ago

Comment by andreasbaumann Monday May 30, 2016 at 10:57 GMT


This is must feature, we do no want restart the daemon for every new storage and set new default parameters before creating a new index.

andreasbaumann commented 6 years ago

Comment by andreasbaumann Thursday Jun 02, 2016 at 06:26 GMT


Now we can pass our own metadata parameters, which get mixed with the default ones. If we override a default parameter, then this is ok, but we better know what we are doing. :-)

Only metadata definitions can be passed, the rest of the create parameters is currently only configurable in the configuration. We need roles in the webservice if we want to allow more dangerous operations.