lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "DM Smith" <dmsmith...@gmail.com>
Subject Bug in BooleanScorer2
Date Wed, 21 Jun 2006 17:35:11 GMT
Hi,
I have just tried to compile lucene with ecj, Eclipse's compiler, and it
complains of errors with BooleanScorer2. The problematic construction is
present 2x in the class:
        if (doc() > lastScoredDoc) {
          lastScoredDoc = doc();
          coordinator.nrMatchers += super.nrMatchers;
        }
It complains about the calls to doc(), with the following error message:
       The method doc is defined in an inherited type and in an enclosing
scope.

Not sure what the solution should be:
this.doc();
BooleanScorer2.this.doc();
or
super.doc();

If I did, I'd send a patch.

-- DM Smith

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