lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lukes <>
Subject Re: getBestFragments with SimpleSpanFragmenter
Date Fri, 14 Oct 2016 05:48:54 GMT
If you open the source, you will see it internally calls 

this.getBestFragments(tokenStream, text, maxNumFragments) which in turn

this.getBestTextFragments(tokenStream, text, true, maxNumFragments) (*with
flag true*) which will merge the fragments automatically. 


View this message in context:
Sent from the Lucene - Java Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message