Text search from List of xml files using Apache Lucene

2017-03-28 Thread Karthikeyan P
Hello, I have a list of xml files in a directory , I have to parse these xml using apache lucene and index it. Once indexing is done , I want to be able to search text inside xml files. How can I achieve this? I am able to search text files in a similar way, can someone help me with xml lucene sea

Re: Text search from List of xml files using Apache Lucene

2017-03-28 Thread Corbin, J.D.
Hi Karthik, ​Sounds like you know what you have to do, the only problem I saw with your statement is about parsing it with Lucene. You can read the files from disk (basic I/O) and use a SAX parser to extract the information you want to search against and then build your index from that informati