Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-252

[PATCH] Problem with Sort logic on tokenized fields

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: None
    • Component/s: core/search
    • Labels:
      None
    • Environment:

      Operating System: other
      Platform: All

    • Bugzilla Id:
      30382

      Description

      When you set s SortField to a Text field which gets tokenized
      FieldCacheImpl uses the term to do the sort, but then sorting is off
      especially with more then one word in the field. I think it is much
      more logical to sort by field's string value if the sort field is Tokenized and
      stored. This way you'll get the CORRECT sort order

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              amordo@infosciences.com Aviran Mordo
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: