Re: Fwd: Lucene Problems

2011-02-03 Thread Dawn Zoƫ Raison
We use the contrib package 'Highlighter' to do exactly that on our PDF newspaper website. Dawn On 03/02/2011 17:31, Gong Li wrote: Hi, I am developing an advanced pdf search engine in java by using pdfbox and lucene. And I must display the context of each keyword in the user interface, but i

Fwd: Lucene Problems

2011-02-03 Thread Gong Li
Hi, I am developing an advanced pdf search engine in java by using pdfbox and lucene. And I must display the context of each keyword in the user interface, but i cannot find a method to do so. Most of the methods provided are used to deal with documents with whole content in the specified field, a