java.lang.Object | |
↳ | com.pspdfkit.document.library.QueryOptions |
Detailed options for querying the FTS database.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
class | QueryOptions.Builder | Builder used to construct QueryOptions instance. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int |
getMaximumPreviewResultsPerDocument()
Returns maximum number of preview results in each document.
| ||||||||||
int |
getMaximumPreviewResultsTotal()
Returns maximum number of preview results for the search query.
| ||||||||||
int |
getMaximumSearchResultsPerDocument()
Returns maximum number of results in each document.
| ||||||||||
int |
getMaximumSearchResultsTotal()
Returns maximum number of results for the search query.
| ||||||||||
Range |
getPreviewRange()
Returns length of text preview snippet.
| ||||||||||
boolean |
shouldGenerateTextPreviews()
Indicates whether text previews should be generated.
| ||||||||||
boolean |
shouldIgnoreAnnotations()
Indicates whether annotations should be ignored when querying.
| ||||||||||
boolean |
shouldIgnoreDocumentText()
Indicates whether document text should be ignored when querying.
| ||||||||||
boolean |
shouldMatchExactPhrases()
Indicates whether exact phrases should be matched.
| ||||||||||
boolean |
shouldMatchExactWords()
Indicates whether exact words should be matched when searching.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Returns maximum number of preview results in each document.
Returns maximum number of preview results for the search query.
Returns maximum number of results in each document.
Returns maximum number of results for the search query.
Returns length of text preview snippet.
Indicates whether text previews should be generated.
true
if text previews should be generated, false
otherwise.
Indicates whether annotations should be ignored when querying.
true
if annotations should be ignored, false
if they should be
included.
Indicates whether document text should be ignored when querying.
true
if document text should be ignored, false
if it should be
included.
Indicates whether exact phrases should be matched.
true
if exact phrases should be matched, false
otherwise.
Indicates whether exact words should be matched when searching.
true
if exact words should be matched, false
otherwise.