/swish/lib/plugin/elastic.pl
All Application Manual Name SummaryHelp

  • lib
    • plugin
      • login.pl -- SWISH login support
      • es_swish.pl -- SWISH integration of Elastic Search
      • elastic.pl -- Core Elastic search interface
        • es_get/2
        • es_put/2
        • es_post/2
        • es_post/3
        • es_add/4
        • es_search/3
        • es_create_index/2
        • es_delete_index/1
      • email.pl -- Email plugin for SWISH
      • hdt.pl -- Access RDF through HDTs
      • notify.pl -- SWISH notifications
      • profile.pl -- User profile configuration
 es_get(+Path, -Result) is det
 es_put(+Path, +Data) is det
 es_post(+Path, +Data) is det
 es_post(+Path, +Data, -Result) is det
Low level access to the Elastic HTTP service. Path is either an atom or a /-separated segment list, e.g., Index/'_doc'.
Arguments:
Result- is a JSON term represented as a dict.