-
Notifications
You must be signed in to change notification settings - Fork 4
GROVE-334 : adds 'show more' link to show more facets in the Vue template #9
base: development
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,6 +37,16 @@ if (enableLegacyProxy) { | |
endpoint: '/resources/extsimilar', | ||
methods: ['get'], | ||
authed: true | ||
}, | ||
{ | ||
endpoint: '/values/*', | ||
methods: ['get', 'post'], | ||
authed: true | ||
}, | ||
{ | ||
endpoint: '/config/query/all', // NOTE: allows get on all extensions | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Allows getting the 'all' search options.. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think it would be nice if we would expose proper rest endpoints for both of these. so, maybe From top of my head, something like:
It may be necessary to patch either the default search or default ext route to fall through, otherwise one or the other might not get reached.. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could you have a play with that @janmichaelyu ? |
||
methods: ['get'], | ||
authed: true | ||
} | ||
// TODO: move this to visjs documentation for visjs-graph | ||
// Other possibilities: | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for taking so long, but after rethinking about this, I am thinking we should not need a separate /search/similar endpoint. Instead, similar should just be 'yet another constraint' in the existing all.xml. Could you revisit this PR (you will have to open a new one unfortunately), and move that custom constraint into all.xml?
https://github.com/marklogic-community/grove-ml-gradle/pull/3/files