[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-34) Lazy load the query results

Emmanuel Bernard (JIRA) noreply at atlassian.com
Wed May 23 19:01:04 EDT 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-34?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_27039 ] 

Emmanuel Bernard commented on HSEARCH-34:
-----------------------------------------

There is a projection support, ie returning the data from the index as a List<Object[]> rather than he objects.

An object partially loaded with lazy properties is not yet covered though

> Lazy load the query results
> ---------------------------
>
>                 Key: HSEARCH-34
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-34
>             Project: Hibernate Search
>          Issue Type: Improvement
>          Components: query
>    Affects Versions: 3.0.0.beta2
>            Reporter: Behrang Javaherian
>
> Search operation should not have any database hit until required. So the search result should be a list of entities with their id and all Store.YES or Store.Compress fields are loaded, accessing any other field should cause database hit. 

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

        



More information about the hibernate-issues mailing list