Hi, 

I have this function that loads all the indexable content, but leaves the .png behind. Am I missing something?

declare %rest:path("/demo/create-db")
    %rest:GET
    %rest:query-param('db', '{$db}', 'new-name')
    %rest:query-param('dir-src', '{$dir-src}', '')
    %output:method("html")
    %output:html-version("5.0")
updating function democlean:create-db($db as xs:string, $dir-src as xs:string){
   let $params := map {'updindex': true(), 'language': 'fr', 'addraw': true(), 'chop': false(), 'intparse': true(), 'createfilter': '*.xml, *.ditamap, *.dita'}
   return (
      if (db:exists($db))
      then db:drop($db)
      else (),
      if ($dir-src = '')
      then
        db:create($db, (), (), $params)
      else
        db:create($db, $dir-src, '/', $params),
       
       db:output(<div>DB ready</div>)
   )
}

 I also tried 'serializer: ''indent=no' as a parameter, which was unrecognized. I assume that since addraw is not unrecognized, it should work.

--
France Baril
Architecte documentaire / Documentation architect
france.baril@architextus.com