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] [Created] (LUCENE-5992) Version should not be encoded as a String in the index
Date Mon, 06 Oct 2014 09:05:34 GMT
Michael McCandless created LUCENE-5992:
------------------------------------------

             Summary: Version should not be encoded as a String in the index
                 Key: LUCENE-5992
                 URL: https://issues.apache.org/jira/browse/LUCENE-5992
             Project: Lucene - Core
          Issue Type: Improvement
            Reporter: Michael McCandless
            Assignee: Michael McCandless
             Fix For: 5.0, Trunk


The version is really "just" 3 (maybe 4) ints under-the-hood, but today we write it as a String
which then requires spooky string tokenization/parsing when we open the index.  I think it
should be encoded directly as ints.

In LUCENE-5952 I had tried to make this change, but it was controversial, and got booted.

Then in LUCENE-5969, I tried again, but that issue has morphed (nicely!) into fixing all sorts
of things *except* these three ints.

Maybe 3rd time's a charm ;)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message