[
https://issues.apache.org/jira/browse/LUCENE-2364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12854717#action_12854717
]
Michael McCandless commented on LUCENE-2364:
--------------------------------------------
Once we fix Term to take a BytesRef, we should remove the newly added
IndexReader.docFreq(String field, BytesRef term), and just use the existing one
that takes a Term.
> 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: [email protected]
For additional commands, e-mail: [email protected]