Re: SortableFloatFieldSource not accessible? (1.3)

2009-08-27 Thread Christophe Biocca
magination.com > > > On Wed, Aug 26, 2009 at 6:23 PM, Christophe > Biocca wrote: > > The class SortableFloatFieldSource cannot be accessed from outside its > > package. So it can't be used as part of a FunctionQuery. > > Is there a workaround to this, or should I roll my own? Will it be fixed > in > > 1.4? > > >

SortableFloatFieldSource not accessible? (1.3)

2009-08-26 Thread Christophe Biocca
The class SortableFloatFieldSource cannot be accessed from outside its package. So it can't be used as part of a FunctionQuery. Is there a workaround to this, or should I roll my own? Will it be fixed in 1.4?

What makes a function query count as a match or not?

2009-08-26 Thread Christophe Biocca
I haven't been able to find what makes a function query count as a match when used a part of a boolean query with Occur.MUST. A Term query is simple, if the term is not found, it doesn't count as a match. What's the equivalent for a function query? A score of zero (or less than zero, as implied by