You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Otis Gospodnetic (JIRA)" <ji...@apache.org> on 2006/06/10 06:52:32 UTC

[jira] Commented: (LUCENE-558) Selective field loading

    [ http://issues.apache.org/jira/browse/LUCENE-558?page=comments#action_12415638 ] 

Otis Gospodnetic commented on LUCENE-558:
-----------------------------------------

It looks like LUCENE-545 solved the lazy field load issue, but you want to extend it some more, so I'll leave this open.  If this is not true, we can close this.

> Selective field loading
> -----------------------
>
>          Key: LUCENE-558
>          URL: http://issues.apache.org/jira/browse/LUCENE-558
>      Project: Lucene - Java
>         Type: New Feature

>   Components: Index
>     Versions: 2.0.0
>  Environment: All
>     Reporter: Chuck Williams
>  Attachments: LuceneTrunk.patch
>
> Provides a new api, IndexReader.document(int doc, String[] fields).  A document containing only the specified fields is created.  The other fields of the document are not loaded, although unfortunately uncompressed strings still have to be scanned because the length information in the index is for UTF-8 encoded chars and not bytes.  This is useful for applications that need quick access to a small subset of the fields.  It can be used in conjunction with or for some uses instead of ParallelReader.
> This is a much smaller change for a simpler use case than Lucene-545.  No existing API's are affected.
> All the tests pass and new tests are added to verify the feature.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org