lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <>
Subject Re: Store the documents content in the index
Date Mon, 18 Jul 2011 23:13:13 GMT
It's certainly possible as others have said, but don't be surprised
if it's not performant. At root, you still have a disk out there that's
being used for fetching the data. Simply moving it from fetching
individual files to fetching that data from the index doesn't change
that fundamental fact.

Before jumping to this conclusion, you might want to instrument
your code or use one of the profiler tools to see where the actual
bottleneck is rather than assume you know (if you haven't already).

Seriously, you *must* determine whether the file I/O is the problem
or whether you're, say, CPU bound or else risk wasting
lots of time and energy and still not fixing the problem.

On Mon, Jul 18, 2011 at 4:13 PM, starz10de <> wrote:
> thanks for your reply
> --
> View this message in context:
> Sent from the Lucene - Java Users mailing list archive at
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

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

View raw message