Last Reviewed: April 29,2011

Article: DTS0117

Applies to: dtSearch Web (all versions)

Symptoms

After a search, click on a PDF file in the search results list and the document appears but hits are not highlighted.

Alternatively, the PDF file may be listed in search results but when you click on it, you get an error page and the file is not displayed.

Troubleshooting Steps

1.  If Adobe Reader X is installed, check that the plug-in to enable hit highlighting is installed.

Adobe Reader X requires a plug-in to enable hit highlighting.  For information on the plug-in and a link to download it, please see http://download.dtsearch.com/pdfhl

Additionally, dtSearch Web 7.67 or later needed to highlight hits in Adobe Reader X.

2.  If Adobe Reader 9 is installed, enable hit highlighting in Adobe Reader
Adobe Reader 9 disables hit highlighting by default.  To enable hit highlighting,

(1) Open Adobe Reader

(2) Click Edit > Preferences > Search, and

(3) check the box labelled Enable search highlights from external highlight server.

The same procedure applies to Adobe Acrobat 9.

3.  If another PDF viewer is installed, please check for compatibility information in this article:
PDF viewers that support highlighting hits

B. Check that PDF files are in a virtual root folder.

PDF files must be in a "virtual root" folder for web hit highlighting to work. A virtual root folder is a folder that is visible to internet users. For example, you might have c:\docs mapped to a virtual root "/docs".

To tell if the files are in a virtual root folder, look at the list displayed in search results in dtSearch Web. If the location of a file is shown as a letter drive, like "c:\docs\sample", then the files are not in a virtual root folder. If the location of a file is shown as a virtual root, like "/docs/sample", then the files are in a virtual root folder.

To make a folder into a virtual root folder:

(1) Open Windows Explorer.

(2) Browse to the folder.

(3) Right-click the folder name and select "Properties".

(4) Click the "Web Sharing" tab.

(5) Check on the "Share this folder" option.

(6) Enter an "Alias" for the folder (this will be the name of the virtual root).

After creating a virtual directory, the next step is to refresh the dtSearch Web virtual directory tables:

(1) In dtSearch Desktop, click File > dtSearch Web Setup

(2) Close the dtSearch Web Setup program (there is no need to install)

(3) Stop and restart the www service (or just reboot the web server)

Now try searching again. The PDF files in the folder should be listed in search results with the alias that you provided as their location, and when you click on one of the files it should appear with hits highlighted.