Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-2548

Remove all interning of field names from flex API

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0-ALPHA
    • None
    • None
    • New

    Description

      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?

      Attachments

        1. LUCENE-2548.patch
          70 kB
          Michael McCandless
        2. LUCENE-2548.patch
          91 kB
          Michael McCandless

        Issue Links

          Activity

            People

              mikemccand Michael McCandless
              uschindler Uwe Schindler
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: