Re: Highlighting PDF file after the search

2004-09-22 Thread Balasubramanian . Vijay
David, I tried your technique, i am directly streaminf the pdf file in to Lucene highlighter as below and i get a NPE in highlighter.getBestFragments(tokenStream, docAsString, 3, "..."); API doc is not very clear here, i fed the contents of query string (instead of docAsString)to this method and

Re: Highlighting PDF file after the search

2004-09-20 Thread Balasubramanian . Vijay
Thanks David. I'll give that a shot and let you know. Vijay Balasubramanian DPRA Inc., 214 665 7503 David Spencer

Highlighting PDF file after the search

2004-09-20 Thread Balasubramanian . Vijay
Hello, I can successfully index and search the PDF documents, however i am not able to highlight the searched text in my original PDF file (ie: like dtSearch highlights on original file) I took a look at the highlighter in sandbox, compiled it and have it ready. I am wondering if this highli