Skip to main content.
home | support | download

Back to List Archive

Re:

From: Peter Karman <peter(at)not-real.peknet.com>
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 . http://peknet.com/ . peter(at)not-real.peknet.com
Received on Wed Nov 30 11:58:03 2005