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. Best Erick On Mon, Jul 18, 2011 at 4:13 PM, starz10de <farag_ah...@yahoo.com> wrote: > thanks for your reply > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Store-the-documents-content-in-the-index-tp3176703p3180435.html > Sent from the Lucene - Java Users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org