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