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

  • lib
    • plugin
      • login.pl -- SWISH login support
      • es_swish.pl -- SWISH integration of Elastic Search
        • es_create_index/0
        • es_add_since/1
        • es_add/2
        • es_add_file/1
        • es_query/2
        • search_sources_hook/2
        • typeahead/4
      • elastic.pl -- Core Elastic search interface
      • email.pl -- Email plugin for SWISH
      • hdt.pl -- Access RDF through HDTs
      • notify.pl -- SWISH notifications
      • profile.pl -- User profile configuration
 es_add_file(+File) is det
Add a file to the swish index.
Errors
- May throw Gitty, Redis or Elastic errors. Bulk adding should typically ignore these.