Re: DocSet to BitSet

2008-05-22 Thread Kevin Osborn
In v1.3, it is public. In v1.2, it is still protected. - Original Message From: Chris Hostetter <[EMAIL PROTECTED]> To: solr-user@lucene.apache.org Sent: Thursday, May 22, 2008 1:50:22 PM Subject: Re: DocSet to BitSet : That is more or less what I did. Once I found that functi

Re: DocSet to BitSet

2008-05-22 Thread Chris Hostetter
: That is more or less what I did. Once I found that function, it just : took a small patch to expose that functionality, and then the problem : was solved. I'm not sure why you needed a patch at all ... SolrIndexSearch.getDocSet(List) and getDocSet(Query) are both public methods. as is DocS

Re: DocSet to BitSet

2008-05-22 Thread Kevin Osborn
:56 PM Subject: Re: DocSet to BitSet : One of the primary reasons that I was doing it this way is because I am : sending several filters, one is a big docset and others are BooleanQuery : objects (products in stock, etc.). : Since, the interface for SolrIndexSearcher.getDocListAndSet supports

Re: DocSet to BitSet

2008-05-22 Thread Chris Hostetter
: One of the primary reasons that I was doing it this way is because I am : sending several filters, one is a big docset and others are BooleanQuery : objects (products in stock, etc.). : Since, the interface for SolrIndexSearcher.getDocListAndSet supports : only (Query, DocSet,...) or (Query,

Re: DocSet to BitSet

2008-05-20 Thread Kevin Osborn
the filter queries will become an entirely different query for the cache. - Original Message From: Chris Hostetter <[EMAIL PROTECTED]> To: Solr Sent: Tuesday, May 20, 2008 12:00:59 PM Subject: Re: DocSet to BitSet : I have a custom query object that extends ContstantScoreQuery. I

Re: DocSet to BitSet

2008-05-20 Thread Chris Hostetter
: I have a custom query object that extends ContstantScoreQuery. I give it : a key which pulls some documents out of a cache. Thinking to make it : more efficient, I used DocSet, backed by OpenBitSet or OpenHashSet. : However, I need to set the BitSet object for the Lucene filter. Any idea : o

DocSet to BitSet

2008-05-15 Thread Kevin Osborn
I have a custom query object that extends ContstantScoreQuery. I give it a key which pulls some documents out of a cache. Thinking to make it more efficient, I used DocSet, backed by OpenBitSet or OpenHashSet. However, I need to set the BitSet object for the Lucene filter. Any idea on how to bes