Highlight huge documents

2008-08-11 Thread jim
Hello I am using Highlighter to highlight query terms in documents getting from a database founded from lucene search. My problem is that when i display the full document, highlighter works fine for most of documents but if the document is huge the highlighter returns only a part of documen

Re: Highlight huge documents

2008-08-11 Thread Doron Cohen
I believe Highlighter.setMaxDocBytesToAnalyze(int byteCount) should be used for this. On Mon, Aug 11, 2008 at 11:40 AM, <[EMAIL PROTECTED]> wrote: > Hello > > I am using Highlighter to highlight query terms in documents getting from a > database founded from lucene search. > My problem is that wh

Re: Re: Highlight huge documents

2008-08-11 Thread jim
it works!! Thanks I believe Highlighter.setMaxDocBytesToAnalyze(int byteCount) should be used for this. On Mon, Aug 11, 2008 at 11:40 AM, <[EMAIL PROTECTED]> wrote: > Hello > > I am using Highlighter to highlight query terms in documents getting from a > database founded from lucene search.