/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_add(+Index, +Data, -Reply, +Options) is det
Add a document to the index Index. Data is a Prolog dict to represent the document. This must satisfy the type as defined by es_create_index/2.