I think the problem is that he is calling getBestFrags on every hit
result for 200 page documents. So he is probably getting the document
for every result and running the Highlighter on each. Thats some slow
stuff there. The first simple thought is to page your results and only
getBestFrags for
Are you just trying to search or are you trying to highlight?
Usually, you do your search, and then highlight 1 or more documents.
You can also speed up highlighting by using term vectors.
-Grant
On Jan 8, 2008, at 9:38 AM, Yannick Caillaux wrote:
Hello,
First, sorry for my bad english.
Hello,
First, sorry for my bad english.
I have an index including 100 Dublin Core notices. I indexed
title,creator and I added a field "fulltext" containing the PDF
document referenced by the DC notice. (A PDF document is about 200 pages)
There's no problem to index them. But when I try