11
Search and Index Essentials
Searching for Text in PDF Documents
Searching for Text in PDF Documents
Introduction
Acrobat JavaScript provides a static
search
object, which provides powerful searching
capabilities that may be applied to PDF documents and indexes. Its properties and
methods are described below in
Table 11.1
Table 11.2.
T
ABLE
11.1
Search Properties
Property
Description
Searches PDF attachments along with base
document
Determines if searching is possible
Searches document metadata information
Searches document text
Searches document XMP metadata
Searches document bookmarks
Ignores accents and diactrics in search
Matches Kana characters in query
Obtains all accessible
index
objects
Searches EXIF data in associated JPEG images
Searches annotations
Determines whether query is case-sensitive
Finds only occurrences of complete words
Maximum number of documents returned
Uses proximity in results ranking for
AND
clauses
Range of proximity search in number of
words
Uses previous results in query
Uses word stemming in searches
attachments
available
docInfo
docText
docXMP
bookmarks
ignoreAccents
ignoreAsianCharacterWidth
indexes
jpegExif
markup
matchCase
matchWholeWord
maxDocs
proximity
proximityRange
refine
stem
192
Acrobat JavaScript Scripting Guide