I have come across a somewhat baffling problem. I am indexing HTML documents and one of them is larger than the rest at about 200K. For some reason when I search for terms which occur only towards the end of the document (i.e. after some apparent "cutoff" point in the document), the document itself is returned as a match but when I call Highlighter#getBestFragments() it returns an empty array. This same method returns fragments if the terms occur in the first part of the document.
So, am I running into some size limitation in either documents or fragments? What else could be causing this behaviour? -- View this message in context: http://lucene.472066.n3.nabble.com/Highlighter-doesn-t-return-any-fragments-for-terms-towards-the-end-of-the-document-tp3170639p3170639.html Sent from the Lucene - General mailing list archive at Nabble.com.
