Skip to main content.
home | support | download

Back to List Archive


From: Peter Karman <peter(at)>
Date: Wed Nov 30 2005 - 19:58:02 GMT
> However, if other results are returned, a mix of HTML files and PDFs for
> instance.. the HTML files return correct results, the PDFs match the key
> term, but the description starts at the top of the document, not the
> part that contains the keyword.

The highlighting/description code only returns matching snippets if a
match was found; otherwise, it returns the first N characters of the
description. Can you verify that the search term(s) actually appear(s) in
the first 1000 characters of the PDF (which, according to your config, is
how much you're capturing as a property)? Otherwise, you're likely just
seeing normal behaviour.

Peter Karman . . peter(at)
Received on Wed Nov 30 11:58:03 2005