Hi Babu, Sorry but I don't see any point in using Lucene if you don't need search functionality. Also for parsing XML files I would consider using some scripting language (as opposed to pure Java based solution). The reason is that scripting languages can be more effectire when simplicity of result code is important and as of Java 6 they can run right inside JVM - so integration with you java code is very simple.
Just my 2 cents. Lukas On 12/4/06, Eshwaramoorthy Babu <[EMAIL PROTECTED]> wrote:
Hi , we have a requirement to compare 2 xml files and generate result(reconcilation report). The xml file size is 6MB each and the flrmat is as below <Data> <Id>123</Id> <Amount>123</Amount> </Data> I have to implement the below logic Number of matching ID'S in both xml Number of non matching ID'S in both xml Number of non matching ID'S in both xml I am planning to use digester and lucene for my above requirement. Is my desicion of using lucene correct? or is there any bettwr approch for my above problem. Thanks, Babu