[ 
https://issues.apache.org/jira/browse/LUCENE-2354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12851598#action_12851598
 ] 

Uwe Schindler commented on LUCENE-2354:
---------------------------------------

Will work here the next days and rewrite the tests.

One problem: Solr at the moment uses the deprecated string api for building a 
TermQuery. This should be replaced by a NRQ with upper==lower(inclusive), as 
this disables scoring, which is wrong for Numeric fields.

> Convert NumericUtils and NumericTokenStream to use BytesRef instead of 
> Strings/char[]
> -------------------------------------------------------------------------------------
>
>                 Key: LUCENE-2354
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2354
>             Project: Lucene - Java
>          Issue Type: Improvement
>    Affects Versions: Flex Branch
>            Reporter: Uwe Schindler
>            Assignee: Uwe Schindler
>             Fix For: Flex Branch
>
>         Attachments: LUCENE-2354.patch
>
>
> After LUCENE-2302, we should use TermToBytesRefAttribute to index using 
> NumericTokenStream. This also should convert the whole NumericUtils to use 
> BytesRef when converting numerics.

-- 
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: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to