On 4/4/06, Grant Ingersoll <[EMAIL PROTECTED]> wrote: > As I see it, we have a few goals: > 1. Retrieve only the fields someone wants > 2. Retrieve only all fields, but leave some to be lazily loaded > 3. Provide SQL like functionality (as Mark suggested) [a bit harder and > more involved????]
/** expert * fields==null means all, fields=={} means none * lazyFields==null means all, lazyFields=={} means none */ Document document(int doc, Set<String> fields, Set<String> lazyFields); OR something like the FieldSelector interface Doug mentioned in LUCENE-509 -Yonik http://incubator.apache.org/solr Solr, The Open Source Lucene Search Server --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]