Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.6, master
    • Component/s: None
    • Labels:
      None

      Description

      We have encountered a use case in our system where we have a few fields (Severity. Risk etc) with a closed set of values, where the sort order for these values is pre-determined but not lexicographic (Critical is higher than High). Generically this is very close to how enums work.

      To implement, I have prototyped a new type of field: EnumField where the inputs are a closed predefined set of strings in a special configuration file (similar to currency.xml).

      The code is based on 4.2.1.

      1. Solr-5084.trunk.patch
        49 kB
        Erick Erickson
      2. Solr-5084.trunk.patch
        49 kB
        Erick Erickson
      3. Solr-5084.trunk.patch
        44 kB
        Elran Dvir
      4. Solr-5084.trunk.patch
        43 kB
        Erick Erickson
      5. Solr-5084.trunk.patch
        43 kB
        Elran Dvir
      6. Solr-5084.trunk.patch
        40 kB
        Erick Erickson
      7. Solr-5084.trunk.patch
        40 kB
        Elran Dvir
      8. Solr-5084.trunk.patch
        40 kB
        Elran Dvir
      9. Solr-5084.trunk.patch
        42 kB
        Elran Dvir
      10. Solr-5084.patch
        43 kB
        Elran Dvir
      11. Solr-5084.patch
        35 kB
        Elran Dvir
      12. Solr-5084.patch
        42 kB
        Elran Dvir
      13. Solr-5084.patch
        101 kB
        Elran Dvir
      14. schema_example.xml
        52 kB
        Elran Dvir
      15. enumsConfig.xml
        0.5 kB
        Elran Dvir

        Activity

        Erick Erickson made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 4.6 [ 12325000 ]
        Fix Version/s 5.0 [ 12321664 ]
        Resolution Fixed [ 1 ]
        Erick Erickson made changes -
        Attachment Solr-5084.trunk.patch [ 12612231 ]
        Erick Erickson made changes -
        Attachment Solr-5084.trunk.patch [ 12612230 ]
        Elran Dvir made changes -
        Attachment Solr-5084.trunk.patch [ 12611361 ]
        Erick Erickson made changes -
        Attachment Solr-5084.trunk.patch [ 12611230 ]
        Elran Dvir made changes -
        Attachment Solr-5084.trunk.patch [ 12611031 ]
        Erick Erickson made changes -
        Attachment Solr-5084.trunk.patch [ 12610882 ]
        Elran Dvir made changes -
        Attachment Solr-5084.trunk.patch [ 12604547 ]
        Elran Dvir made changes -
        Attachment Solr-5084.trunk.patch [ 12600986 ]
        Erick Erickson made changes -
        Assignee Erick Erickson [ erickerickson ]
        Elran Dvir made changes -
        Attachment Solr-5084.trunk.patch [ 12600598 ]
        Elran Dvir made changes -
        Attachment Solr-5084.patch [ 12600142 ]
        Elran Dvir made changes -
        Attachment Solr-5084.patch [ 12597687 ]
        Elran Dvir made changes -
        Attachment Solr-5084.patch [ 12595361 ]
        Elran Dvir made changes -
        Attachment Solr-5084.patch [ 12595176 ]
        Elran Dvir made changes -
        Field Original Value New Value
        Attachment enumsConfig.xml [ 12594597 ]
        Attachment schema_example.xml [ 12594598 ]
        Elran Dvir created issue -

          People

          • Assignee:
            Erick Erickson
            Reporter:
            Elran Dvir
          • Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development