PdfLibrary

constructor(path: String, tokenizer: PdfLibrary.TokenizerType? = null)

Parameters

path

Writable path to library database file.

tokenizer

The tokenizer to use, one of TokenizerType.PORTER or TokenizerType.UNICODE. This controls how the PdfLibrary matches queries to the content in the index. If null is passed, TokenizerType.PORTER will be used as the default tokenizer.