Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Won't Fix
    • Affects Version/s: 3.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      any

    • Lucene Fields:
      New

      Description

      The API of Lucene is totally inconsistent:

      1)
      There are a lot of containers which don't implement an interface which indicates this fact
      (for pre-java-1.5 Lucene it could be Collection, for post-ajva-1.5 Lucene it could be more general Iterable)

      Example:
      IndexSearcher: "int maxDoc()" and "doc(int i)"

      2)
      There are a lot of classes having non-final public accessible fields.

      3)
      Some methods which return values are named something() others are named getSomething()

      Best one is: Fieldable:
      without get: String stringValue(), Reader readerValue(), byte[] binaryValue(), ...
      with get: byte[] getBinaryValue(), int getBinaryLength(), ...

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Ivan.S
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development