lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Lea <>
Subject Re: should I import the XML file into a mysql dataset ?
Date Tue, 29 Mar 2011 09:43:27 GMT
You need to figure out what is taking the time, for example by reading
the XML file without making any lucene queries.  What XML parsing
process are you using?  Some are faster than others.  A google search
should find loads of info.

If it turns out that it is lucene searching taking most of the time,

But do the figuring out first - there is little point in speeding up
the bit that is already quick.


On Tue, Mar 29, 2011 at 10:22 AM, Patrick Diviacco
<> wrote:
> hi,
> I performing multiple queries (stored in a 100MB XML file) against a
> collection (indexed with lucene, and it was stored before in a 100MB XML
> file).
> The process seems pretty long on my machine (more than 2 hours), so I was
> wondering if importing the 100MB queries XML file into a mysql dataset and
> extract them with Java would dramatically improve the performances (rather
> than working with Java + a xml text file).
> thanks

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message