lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <>
Subject [jira] [Updated] (LUCENE-2548) Remove all interning of field names from flex API
Date Mon, 20 Jun 2011 19:28:47 GMT


Michael McCandless updated LUCENE-2548:

    Attachment: LUCENE-2548.patch

I agree -- I removed createTerm!

And fixed the nocommits....

Beast chewed on this for a while and didn't hit any failures except various Solr tests that
still intermittently fail... I think it's ready!

> Remove all interning of field names from flex API
> -------------------------------------------------
>                 Key: LUCENE-2548
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>            Reporter: Uwe Schindler
>            Assignee: Michael McCandless
>             Fix For: 4.0
>         Attachments: LUCENE-2548.patch, LUCENE-2548.patch
> In previous versions of Lucene, interning of fields was important to minimize string
comparison cost when iterating TermEnums, to detect changes in field name. As we separated
field names from terms in flex, no query compares field names anymore, so the whole performance
problematic interning can be removed. I will start with doing this, but we need to carefully
review some places e.g. in preflex codec.
> Maybe before this issue we should remove the Term class completely. :-) Robert?

This message is automatically generated by JIRA.
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message