Link
Skip to main content

Generate Search File

Generates search.json. This file contains an array (one element per page) containing the textual content from each page. It is used by idrviewer.search.js for page search.

search.json is always generated in the IDRViewer Complete UI. Search is not supported as standard in other IDRViewer UI modes.

Expected values:

  • true
  • false

Usage Examples

Command Line

-Dorg.jpedal.pdf2html.generateSearchFile=true

Cloud

{ "org.jpedal.pdf2html.generateSearchFile": true }

Java

contentOptions.setGenerateSearchFile(true);
idrviewerOptions.setGenerateSearchFile(true);

Get started with BuildVu in 3 steps

  1. Fill in the form to download the trial jar →
  2. Copy the code snippets as instructed on the next page
  3. Build your solution using our docs

Learn more about BuildVu

Start Your Free Trial

Trial License Type