Uploaded image for project: 'mUzima'
  1. mUzima
  2. MUZIMA-58

Reuse fields in search api

    XMLWordPrintable

    Details

      Description

      The better approach according to the Lucene manual book is to reuse Field object when creating new Document object. We need to update the writeObject method and use this approach.

      The better approach would be to keep a mapping of field name to Field object. When we want to add a new Field to the new Document, we would search the map first and add new Field only when it's not available in the map.

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              nribeka Nyoman Ribeka
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: