malteseduck / spring-data-marklogic

An implementation of the Spring Data interfaces for the MarkLogic NoSQL database
Apache License 2.0
7 stars 9 forks source link

Add basic "values" functions to MarkLogicTemplate #17

Open malteseduck opened 7 years ago

malteseduck commented 7 years ago

Look to see if there are some simple (and generic) functions we could add to the template to enable easy pulling of index values. Ideally this would include aggregates as well, but for the simple case maybe just the values, potentially scoped by a structured query.

malteseduck commented 7 years ago

Have tried various ways to add it in to "make it easy", but none seem to "feel" right. As this is an "in-between" feature - not quite Spring Data, but I don't want to implemented a bunch of custom interfaces for ML functionality, maybe it should not be included.

malteseduck commented 6 years ago

Could be more of a "facets" set of functions, and there are many cases where wrapping this "pattern" in a function would help because it seems to be used a lot (i.e. shotgun joins), so will add to next release.