Hi ,
Thanks for your help.
So do I have to do:
public Scorer scorer(IndexReader reader) throws IOException {
SolrIndexReader solrReader = (SolrIndexReader) reader;
int offset = solrReader.getBase() ;
Or is it a bit more complex than that?
Jerome.
2009/8/20 Mark Miller :
> Jérôme Etévé wrot
Jérôme Etévé wrote:
> Hi all,
>
> I'm kind of struggling with a customized lucene.Scorer of mine, since
> I use solr 1.4.
>
> Here's the problem:
>
> I wrote a DocSetQuery which inherit from a lucene.Query. This query
> is a decorator for a lucene.Query that filters out the documents which
> are
We should probably move to using Lucene's Filters/DocIdSets
instead of DocSets and merge the two. Then we will not need to
maintain two separate but similar and confusing functionality
classes. This will make seamlessly integrating searching with
Solr's Filters/DocSets into Lucene's new per segment
You might be interested in this issue:
http://issues.apache.org/jira/browse/LUCENE-1821
--
- Mark
http://www.lucidimagination.com
Jérôme Etévé wrote:
> Hi all,
>
> I'm kind of struggling with a customized lucene.Scorer of mine, since
> I use solr 1.4.
>
> Here's the problem:
>
> I wrote a
Hi all,
I'm kind of struggling with a customized lucene.Scorer of mine, since
I use solr 1.4.
Here's the problem:
I wrote a DocSetQuery which inherit from a lucene.Query. This query
is a decorator for a lucene.Query that filters out the documents which
are not in a given set of predefined do