lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonghui Zhao <zhaoyong...@gmail.com>
Subject Re: TermsEnum.posting doesn't support acceptDocs
Date Wed, 30 May 2018 11:25:33 GMT
Got it, thanks.

I see “
scorer.score(leafCollector, ctx.reader().getLiveDocs());
”
in indexsearcher

2018-05-30 19:02 GMT+08:00 Adrien Grand <jpountz@gmail.com>:

> Hi,
>
> You need to filter by yourself indeed. For the record in case you are
> implementing a query, Scorer objects do not need to exclude deleted docs
> either (actually they shouldn't do it) as live docs are now checked on top
> of scorers.
>
> Le mer. 30 mai 2018 à 12:57, Yonghui Zhao <zhaoyonghui@gmail.com> a écrit
> :
>
> > I find TermsEnum.posting(docsAndPostiions API before)   in new lucene
> has
> > no acceptDocs parameter
> >
> > So any replacement? or implement the filter by myself?
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message