Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 2.0.0
    • None
    • core/index
    • None

    Description

      This update adds a new super class Index, extended by Directory. It allows for transparent communication between your application and the persistency mechanism. It takes issue 550 one step closer to backwards compability.

      • Term and Document are no longer final classes.
      • InterfaceIndexWriter

      I also added these two in the Index.

      abstract index.openIndexWriter()
      abstract index.openIndexReader();

      There is some bonus material that use this:

      • Decorators for
      • Index
      • InterfaceIndexWriter
      • IndexReader
      • IndexSearcher
      • NotifiableIndex, adds notification of changes to any Index.
      • CreateListener
      • DeleteListener
      • OptimizationListener (not implemented)
      • ContentUpdateListener, reacts to any change of the index. Optimized for some implementations.
      • AutofreshedSearcher, contains a searcher that is always up to date with the index and have a buffer with old searchers that will be closed when nobody is using them anymore (hopefully).

      Attachments

        1. indexbonus.tar
          40 kB
          Karl Wettin
        2. index.tar
          20 kB
          Karl Wettin

        Issue Links

          Activity

            karl.wettin Karl Wettin added a comment -

            The required update

            karl.wettin Karl Wettin added a comment - The required update
            karl.wettin Karl Wettin added a comment -

            Bonus material

            karl.wettin Karl Wettin added a comment - Bonus material
            karl.wettin Karl Wettin added a comment -

            This issue can be deleted. It is now a part of issue 550, and have been changed from inheritence to an aggregation (strategy pattern) to ensure backwards compability.

            karl.wettin Karl Wettin added a comment - This issue can be deleted. It is now a part of issue 550, and have been changed from inheritence to an aggregation (strategy pattern) to ensure backwards compability.

            resolved per orriginal reporter as part of a larger (seperately tracked) issue

            hossman Chris M. Hostetter added a comment - resolved per orriginal reporter as part of a larger (seperately tracked) issue
            tomoko Tomoko Uchida added a comment -

            This issue was moved to GitHub issue: #1659.

            tomoko Tomoko Uchida added a comment - This issue was moved to GitHub issue: #1659 .

            People

              Unassigned Unassigned
              karl.wettin Karl Wettin
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: