Dear StackOverFlow Developers I want a help from you . I am stuck in Apache lucene to use in java swing application . The problem is so complex that even i m confused how should i ask it. Please try to understand what is my actual requirement. The case is the simple i have to give html files so that client can access them in swing application and for searching facility i decided to use apache lucene indexing. this is providing me the search facility but now i want to display the html file data which has matched the search criteria . In java API i m using swing for it and JEditorPane is the control in which i have to display the contents of html file . Please suggest me how should i index the html files and how should i get the content of html files back from lucene index. the html files not only having text only but also they are having links , images etc.
thanks in advance hoping help from you regards
In one of our projects where we employed Lucene for full text indexing & search, we handled HTML files as follows:
HTH.