lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grant Ingersoll <gsing...@apache.org>
Subject Re: payload api (scorePayload)
Date Mon, 10 Sep 2007 22:00:32 GMT

On Sep 10, 2007, at 5:33 PM, Mike Klaas wrote:

> This is the current api for scorePayload:
>
>   public float scorePayload(byte [] payload, int offset, int length) {
>
> ISTM that this function depends greatly on the field--what if the  
> end user wants to store two completely different kinds of values in  
> different fields?  Could fieldName be added?
>

+1

> What I truly pine for is a way to globally override Similarity on a  
> per-field basis.  Wishful thinking...
>

Instead of wishful thinking, let's figure out a patch...  :-) 
  

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message