lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <>
Subject Re: IndexReader plugins
Date Tue, 14 Apr 2009 19:01:25 GMT
On Tue, Apr 14, 2009 at 2:53 PM, Mark Miller <> wrote:

> The distinction I am making with core is that we will have to call known
> methods on those
> core 'modules' that are not very generic? Doesn't that keep it from playing
> nice with the very generic 'attach this to this segment'?

I think the way it'd work is SegmentReader would no longer expose much
API at all; you'd have to pull the component you want and interact
with that.

EG to execute a search, we'd have to pull the TermsDictComponent (to
get toplevel stats for TermWeight), the NormsComponent and the
PostintsComponent, and TermQuery would then interact with these three
to do its searching.

I think?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message