Hi,
I am building a searchengine which searches some html and text files in the web directory. I was trying to use lucene. I was able to index the file and query a word and get the documents which contains that search word. But the problem i was incurring is how do i index the paragraph where the search word is found. My search should retrieve the whole paragraph where the search word is found. How do i associate the whole paragraph with the words.
Thank You
Regards,
Zeah