Re: Extending Query, Weight, Scorer

2007-02-15 Thread Chris Hostetter
: > your Scorer.next method should be skipping over documents that you do not : > consider "matches" to your search. : > : But, since the value on the float[] is the same regardless it has a field : with value '0' and has no field, how can i tell one from another? Well the FieldCache default valu

Re: Extending Query, Weight, Scorer

2007-02-15 Thread poeta simbolista
Chris Hostetter wrote: > > your Scorer.next method should be skipping over documents that you do not > consider "matches" to your search. > But, since the value on the float[] is the same regardless it has a field with value '0' and has no field, how can i tell one from another? Chris Hostet

Re: Extending Query, Weight, Scorer

2007-02-15 Thread Chris Hostetter
: I have created a Query that works for numerical max-min ranges, that may : work for any Field specified. : I have done that by extending Query, and creating own Weight and Scorer : subclasses as well. : So it works ... but I have problems when setting min or max boundary to 0: : In this case, th

Extending Query, Weight, Scorer

2007-02-14 Thread poeta simbolista
Hi, I have created a Query that works for numerical max-min ranges, that may work for any Field specified. I have done that by extending Query, and creating own Weight and Scorer subclasses as well. So it works ... but I have problems when setting min or max boundary to 0: In this case, those ent