OK, #4 it is. I will most likely submit a patch this weekend.
Andrzej Bialecki wrote:
Yonik Seeley wrote:
On 3/31/06, Erik Hatcher <[EMAIL PROTECTED]> wrote:
I prefer option #4 myself. Also note that a similar issue with
patches exists within JIRA:
<https://issues.apache.org:443/jira/browse/LUCENE-509>
Yes, I'd personally find a way to retrieve just fields x,y, and z more
useful than lazy loading.
It seems like lazy loading could be useful if you do something with
field values that is conditional on the value of other fields... a
case I haven't run into.
Use cases in Nutch would also indicate that #4 is the most convenient
option, and rule out options #1 and #3 (and perhaps #2 due to
efficiency). Various fields from Lucene indexes are used for e.g.
sorting, where sorting field is selected by users during run time.
Some field values help with Hits presentation, while other values
should only be retrieved when requesting all hit's "metadata" - again,
using the same index. So, option #4 would be really useful.
--
Grant Ingersoll
Sr. Software Engineer
Center for Natural Language Processing
Syracuse University
School of Information Studies
335 Hinds Hall
Syracuse, NY 13244
http://www.cnlp.org
Voice: 315-443-5484
Fax: 315-443-6886
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]