An angular module of services and directives for common use cases in MarkLogic search applications. Based on components from ealier versions of https://github.com/marklogic/slush-marklogic-node.
depends on https://github.com/joemfb/ml-common-ng.
bower install ml-search-ng
MLSearchFactory
: factory for generating instances of MLSearchContext
(which manages search config/query state, and provides APIs for searches)MLRemoteInputService
: for communicating with the ml-remote-input
(search input outside of controller scope)ml-chiclets
: display facet selection 'chiclets'ml-duration
: parse ISO duration stringsml-facets
: display facetsml-input
: search input with auto-suggestml-metrics
: display search metricsml-remote-input
: remote wrapper for ml-input
ml-results
: display search results / snippets / highlightsMLSearchController
: prototypically inherit to setup default search behaviorMLRemoteSearchController
: prototypically inherit to use with ml-remote-input
(inherits from MLSearchController
)See https://joemfb.github.io/ml-search-ng/ for API docs and directive examples.
See https://github.com/marklogic/slush-marklogic-node for a quick way to get started with an angular search application on top of the MarkLogic REST API.