Re: Extending TopDocCollector

2008-08-13 Thread Shai Erera
Thanks. I created issue https://issues.apache.org/jira/browse/LUCENE-1356and submitted a patch. Do you think it can be included in 2.3.3? On Wed, Aug 13, 2008 at 4:44 PM, Doron Cohen <[EMAIL PROTECTED]> wrote: > Sounds logical to me. After all, TopDocCollector already has a subclass >> (TopFieldD

Re: Extending TopDocCollector

2008-08-13 Thread Doron Cohen
> > Sounds logical to me. After all, TopDocCollector already has a subclass > (TopFieldDocCollector), and it is quite natural that users might want to > add more - to implement different sorting mechanisms (e.g., according > to payloads, database data, or whatever). > > Does anyone disagree? Is the

Re: Extending TopDocCollector

2008-08-13 Thread Nadav Har'El
On Thu, Aug 07, 2008, Shai Erera wrote about "Extending TopDocCollector": > Is it possible to change TopDocCollector members to 'protected' instead of > 'package' and 'private'? It will allow to easily extend it. Today, I have a > need to extend it, but since I cannot use its members I have to impl