Michael McCandless created LUCENE-5669:
------------------------------------------
Summary: Make it easier to index a full binary term
Key: LUCENE-5669
URL: https://issues.apache.org/jira/browse/LUCENE-5669
Project: Lucene - Core
Issue Type: Improvement
Reporter: Michael McCandless
Fix For: 4.9, 5.0
When I ran performance tests for different UUID fields for
http://blog.mikemccandless.com/2014/05/choosing-fast-unique-identifier-uuid.html
I found that full binary term, i.e. base / radix 256 using all 256 values of
each byte, was typically faster than the "default" base 16/36/etc. encoding for
UUIDs.
But in Lucene today it's a hassle to index a binary term (I had to go poach
BinaryTokenStream from tests).
I think we should make this easier so apps are encouraged to use it for their
ID-like fields.
Maybe we add an indexable option to BinaryField?
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]