Hi Doug,
Based upon your changes I have reworked a contribution for efficient
sorting of "long" values which I submitted some time back numbered
34563 in Bugzilla. Please let me know if you have any questions,
comments, or concerns.
Regards,
Rus
On 6/2/05, Doug Cutting <[EMAIL PROTECTED]> wrote:
Doug Cutting wrote:
Attached is a patch that makes it possible to supply a user-specified
parser to FieldCache. For example, one might use this to process a date
field as ints even if was not indexed as a decimal integer.
As there were no objections, I have committed this patch.
Doug
--
Nice approach. Should SortComparatorSource include a new method decl for
SortComparatorSource.newComparator (IndexReader reader, String
fieldname, Object valueParser) ?
RBP
On 5/10/05, Doug Cutting <[EMAIL PROTECTED]> wrote:
> Attached is a patch that makes it possible to supply a user-specified
This does solve one problem I was having. There are still a few
issues I still need to solve:
- double and long support?
- Sorting support for multiple indexed fields mapped onto a single
field using fieldname=fieldvalue.For example, when field "x" is
specified, I actually need just a slice
+1
like the idea!
Attached is a patch that makes it possible to supply a user-specified
parser to FieldCache. For example, one might use this to process a date
field as ints even if was not indexed as a decimal integer.
Comments?
Doug
--