Hi all,
I wonder how to highlight the searched word when full-text searching
performed based on Lucene.
At the indexing stage, the contents of a original file is regarded as a FIELD
of a Lucene document:
private static void indexFile(File file, IndexWriter idxWriter)
throws IOException {
large original file met. I think we can use a random access method to
reduce the string size by locating the searched word, and this may be a general
problem needing to be solved.
Stern
Erik Hatcher <[EMAIL PROTECTED]> wrote:
On 27 Nov 2005, at 00:24, Jerry Stern wrote:
> I