Link
Skip to main content

How does search work in the IDRViewer?

The IDRViewer works by dynamically loading and unloading pages so that documents are fast to load and navigate. A side effect of this is that not all pages are available to be searched when using the built-in web browser search functionality.

For this reason, the Complete UI provides custom search functionality which allows you to search the entire document. This uses a separate search.json file containing the searchable text from all pages. Search is available in the sidebar and is automatically shown when using the search keyboard shortcut.

The search functionality requires the document to be loaded from a web server. This is because an AJAX request is used to load the search.json file. When loading the document from the local file system, web browsers block this AJAX request for security reasons. Learn more:


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