lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <ysee...@gmail.com>
Subject Re: Lazy Field Loading
Date Tue, 04 Apr 2006 22:07:41 GMT
On 4/4/06, Grant Ingersoll <gsingers@syr.edu> 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message