On Fri, Feb 15, 2008 at 3:05 PM, Ryan McKinley <[EMAIL PROTECTED]> wrote:
> Are the functions in NumberUtils.java general enough to move to lucene
>  core (or some contrib package)?

General enough perhaps, but maybe not good enough.
Lucene already has a bunch of number utils already... adding yet more
that aren't optimal doesn't seem to be a good idea.

I think the right way is more binary oriented (perhaps possible after
lucene moves to byte-counts for string lengths in the index).

Then there's the idea that straight indexing of things like numbers
isn't always a great idea anyway (index pollution ,etc), and a mix of
indexing and stored fields that can be rapidly accessed (like
payloads) is better.

-Yonik

Reply via email to