> 1. Add two methods to Query.java:
> 
>   public boolean constantScoring();
>   public void constantScoring(boolean);
> 
>   When constantScoring(), the boost() is the score for matches.
> 
> 2. Add two methods to Searcher.java:
> 
>   public BitSet cachedBitSet(Query) { return null; }
>   public void cacheBitSet(Query, BitSet) {}

I'd like to vote for a slight variation here, that is, going in line with the
beans theme. Namely, the method signatures should look like:

public boolean isConstantScoring();
public void setConstantScoring(boolean);

public BitSet getCachedBitSet(Query);
public void setCachedBitSet(Query, BitSet);

-- 
Maik Schreiber   *   http://www.blizzy.de

GPG public key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x1F11D713
Key fingerprint: CF19 AFCE 6E3D 5443 9599 18B5 5640 1F11 D713

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to