Optimizing Storage

By default, PDF Highlighter caches data for boosting performance of both highlighting methods ("highlight-for-query" and "highlight-for-xml"). However, in most use cases, just one of these methods will be used.

Once you are clear which highlighting method you need, you can setup Highlighter to store only data for the selected method.

If you use only highlight for query method, in your application.conf, enable option:

highlighter.indexing {
storeDataForHighlightForQueryMethodOnly = true

If you only highlight PDF documents using highlight files, and do not want use Power Search in the viewer, use:

highlighter.indexing {
storeDataForHighlightForXmlMethodOnly = true
solr.disabled = true

After modifying storage options, you should clear Highlighter's cache folder and start fresh.

comments powered by Disqus