lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (LUCENE-2379) TermRangeQuery & FieldCacheRangeFilter should accepts BytesRef
Date Wed, 07 Apr 2010 16:14:33 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-2379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael McCandless resolved LUCENE-2379.
----------------------------------------

    Resolution: Duplicate

Woops -- dup of LUCENE-2364.

> TermRangeQuery & FieldCacheRangeFilter should accepts BytesRef
> --------------------------------------------------------------
>
>                 Key: LUCENE-2379
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2379
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Search
>    Affects Versions: 3.1
>            Reporter: Michael McCandless
>             Fix For: 3.1
>
>
> With flex, a term is a byte[] (BytesRef) not a String... we need to push this "up the
search stack".
> TermRangeQuery / FieldCacheRangeFilter.newStringRange now take a String for the upper/lower
bounds, but that should be deprecated in favor of BytesRef (a BytesRef can be created from
a CharSequence, encoding the chars as UTF8).

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


Mime
View raw message