You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2014/05/13 16:29:16 UTC

[jira] [Created] (LUCENE-5669) Make it easier to index a full binary term

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