Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-2126

Update of the Lucene libraries to version 2.9.3. Addition of an attribute for field definitions in the mapping file to make this field unique in the resulting index.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.3.1Addons
    • Sandbox-Lucas
    • None

    Description

      The Lucene library dependency has been updated to version 2.9.3. Thus, some classes had to be rewritten using the new Lucene Token API. Not all classes have been adapted to the new API, however, so that the component is not yet Lucene 3.x compliant.

      Lucas creates multiple Field instances for each field declared in the mapping file which is to be stored as well as indexed. This is done even when not necessary. As this may collide with a unique-key property (e.g. in Solr) a new attribute "unique" has been added to the field element of the mapping file. If the value of this attribute is set to "true" and there is only one declaration for this field name in the mapping file, there will be created only one field instance.

      This addition has been added to the project's docbook (along with quite some spelling corrections, a few reformulations and corrections to the examples).

      Attachments

        1. lucas.patch
          73 kB
          Erik Faessler

        Activity

          People

            Unassigned Unassigned
            chew Erik Faessler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0.25h
                0.25h
                Remaining:
                Remaining Estimate - 0.25h
                0.25h
                Logged:
                Time Spent - Not Specified
                Not Specified