Andrew Welch wrote:
Just some ideas, hopefully there are some better ones!
Yes. Use Lucene (if I remember correctly, you are a java guy).
Here is a simple intro to indexing xml:
http://www-106.ibm.com/developerworks/library/j-lucene/
Term highlighting:
http://home.clara.net/markharwood/lucene/highlight.htm
Other resources for Lucene:
http://jakarta.apache.org/lucene/docs/contributions.html
http://jakarta.apache.org/lucene/docs/lucene-sandbox/
best,
-Rob
cheers
andrew