[
https://issues.apache.org/jira/browse/LUCENE-1496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12718476#action_12718476
]
Uwe Schindler commented on LUCENE-1496:
---------------------------------------
I think we can close this now. I originally wanted to make this issue dependent
on the move-to-core issue and close it together with trie.
There is now a private copy of number utils inside LocalLucene, but this should
be removed soonly and replaced by TrieUtils.
But yonik said: NumberUtils is also only for compatibility reasons in solr. The
binary format used by NumberUtils is not very index-friendly (because of using
the full UTF-16 range and so it has the UTF-8 decoding overhead), so it should
not be used for new deleopments. I suggest to use TrieUtils (or NumberUtils to
do the same). TrieUtils only uses 7 bits per char and so don't touch the UTF-8
encoding (it is simply ASCII-only).
> Move solr NumberUtils to lucene
> -------------------------------
>
> Key: LUCENE-1496
> URL: https://issues.apache.org/jira/browse/LUCENE-1496
> Project: Lucene - Java
> Issue Type: Task
> Reporter: Ryan McKinley
> Priority: Trivial
> Fix For: 2.9
>
>
> solr includes a NumberUtils class with some general utilities for dealing
> with tokens and numbers.
> This should be in lucene rather then solr.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]