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

Uwe Schindler commented on LUCENE-2364:
---------------------------------------

+1

Term is still used at a lot of places in internal code, but that can be changed 
easily. One of those places is MTQ :-)

> Add support for terms in BytesRef format to Term, TermQuery, TermRangeQuery & 
> Co.
> ---------------------------------------------------------------------------------
>
>                 Key: LUCENE-2364
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2364
>             Project: Lucene - Java
>          Issue Type: Improvement
>    Affects Versions: Flex Branch
>            Reporter: Uwe Schindler
>             Fix For: 3.1
>
>
> It would be good to directly allow BytesRefs in TermQuery and TermRangeQuery 
> (as both queries convert the strings to BytesRef internally). For 
> NumericRange support in Solr it will be needed to support numerics as ByteRef 
> in single-term queries.
> When this will be added, don't forget to change TestNumericRangeQueryXX to 
> use the BytesRef ctor of TRQ.

-- 
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