lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bib_lucene bib <>
Subject Displaying Document [Highlighting Terms]
Date Mon, 26 Sep 2005 07:57:34 GMT
Hi All
I have indexed and displayed highlighted search results. [following lucene in action examples:
Thanks authors]. Now I want to display the content of the file with highlighted terms.
An idea I could comeup with is , clicking on search result I can open stream to a document,
search the text for matching strings and put <b>text</b> around the text (or css
What I am not sure with the above approach is if there are 100 people requesting to see the
document, it will open 100 files and do the search and highlight etc....
Is there a elegant and better way, essentially how you guys deal when the requirement is not
only to just show highlighted fragments of a doc, but also the whole document with highlighted
text on clicking clicking on search results.
The document is indexed like this..
Thanks for any suggestions...

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message