[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-289) Move to new Lucene Filter DocIdSet

Sanne Grinovero (JIRA) noreply at atlassian.com
Sat Nov 8 22:49:16 EST 2008


    [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=31664#action_31664 ] 

Sanne Grinovero commented on HSEARCH-289:
-----------------------------------------

ah yes that's been a useful tip.

what I did now is to build a DocIdBitSet from the "anded iterators",
so that it is still possible to cache the expensive work.

There are some ways it can be improved: as the client is seeing only an iterator,
we could initialize the bitset partially ( up to the point the client is requesting, or from some point
as the API is having a skipTo(int target) as well)
but this sort of considerations I'll leave pending for when there is more time.

another improvement would be to check if all chained sets are actually implemented throught
a bitset, to cast and use the bitset and operations.

> Move to new Lucene Filter DocIdSet
> ----------------------------------
>
>                 Key: HSEARCH-289
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-289
>             Project: Hibernate Search
>          Issue Type: Task
>            Reporter: Emmanuel Bernard
>            Assignee: Sanne Grinovero
>             Fix For: 3.1.0.CR1
>
>
> This might affect the internal code, the documentation and the book.

-- 
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