Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
New
Description
With flex, a term is now an opaque byte[] (typically, utf8 encoded unicode string, but not necessarily), so we need to push this up the search stack.
FieldCache now has getStrings and getStringIndex; we need corresponding methods to load terms as native byte[], since in general they may not be representable as String. This should be quite a bit more RAM efficient too, for US ascii content since each character would then use 1 byte not 2.
Attachments
Attachments
Issue Links
- blocks
-
LUCENE-2364 Add support for terms in BytesRef format to Term, TermQuery, TermRangeQuery & Co.
- Closed
- is depended upon by
-
LUCENE-2426 change sort order to binary order
- Closed