marklogic-community / slush-marklogic-node

Slush generator for a MarkLogic/node project
https://github.com/marklogic-community/slush-marklogic-node/wiki
Other
40 stars 28 forks source link

Improve mlrest to add more search functionality #37

Closed grtjn closed 10 years ago

grtjn commented 10 years ago

Current mlrest service doesn't cover the entire REST-api yet. The api includes very useful endpoints like content-based search suggestions, sparql-endpoint, getting values, and tuples, etc. Existing functions could also support more (optional) parameters to increase flexibility, and for instance call search endpoint to pull facets and results separately.

grtjn commented 10 years ago

I have a replacement which covers #20, #36, this issue, and more. I was afraid it wouldn't be a drop-in replacement, but first tests seem more promising than I hoped. I just need to do some rework on the controllers..

grtjn commented 10 years ago

It looks like it is actually other way around. I just needed to return 'this' on functions like clearFacet, and then it did become a drop-in replacement. Holding of on pushing this to not 'pollute' pull request #32 any further..

grtjn commented 10 years ago

Superseded by ml-common-ng and ml-search-ng..