another issue (apparently unrelated, but who knows ?) See
https://issues.apache.org/jira/browse/LUCENE-2874
Pierre
De : Cescy [mailto:ee07b...@gmail.com]
Envoyé : vendredi 18 mars 2011 07:32
À : java-user; Pierre GOSSE
Objet : Re:RE: About highlighter
Yes, I only search the "contents"
Ian Lea [mailto:ian@gmail.com]
Envoyé : mercredi 16 mars 2011 22:29
À : java-user@lucene.apache.org
Objet : Re: About highlighter
I know nothing about highlighting but that 500 looks like a good place
to start investigating.
--
Ian.
On Tue, Mar 15, 2011 at 8:47 PM, Cescy wrote:
> Hi,
I know nothing about highlighting but that 500 looks like a good place
to start investigating.
--
Ian.
On Tue, Mar 15, 2011 at 8:47 PM, Cescy wrote:
> Hi,
>
>
> My highlight code is shown as following:
>
>
> QueryScorer scorer = new QueryScorer(query);
> Highlighter highlighter = new Highlig
Hi,
My highlight code is shown as following:
QueryScorer scorer = new QueryScorer(query);
Highlighter highlighter = new Highlighter(simpleHTMLFormatter, scorer);
highlighter.setTextFragmenter(new SimpleSpanFragmenter(scorer, 500));
String contents = doc.get("contents");
TokenStream toke
Hi,
My highlight code is shown as following:
QueryScorer scorer = new QueryScorer(query);
Highlighter highlighter = new Highlighter(simpleHTMLFormatter, scorer);
highlighter.setTextFragmenter(new SimpleSpanFragmenter(scorer, 500));
String contents = doc.get("contents");
TokenStream t