Fetch Documents Without Retrieveing All Fields

2006-04-09 Thread Supriya Kumar Shyamal
Hi All, I found a interesting point mentioned in http://www.cs.cmu.edu/~shashank/htmlfiles/hacks/lucene.html by Shashank. Of course there is no doubt that search in Lucene index is faster but sometimes the retrieving the hitDocs is slower(for Ex. when we try to retrieve more than 1 docum

Re: Fetch Documents Without Retrieveing All Fields

2006-04-09 Thread Chris Hostetter
first off, i only skimmed the url you posted. i may have missed the point, but it appears to be a description of how to add restricted stored field loading. secondly... : Of course there is no doubt that search in Lucene index is faster but : sometimes the retrieving the hitDocs is slower(for Ex

Re: Fetch Documents Without Retrieveing All Fields

2006-04-10 Thread Bill Janssen
In case anyone else was wondering: I got curious about how one would replace FieldCache, and discovered that you can create an instance of a class which implements FieldCache, and then simply assign it to org.apache.lucene.search.FieldCache.DEFAULT. > 2) your use case sounds like it could best be