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

Sort api problems

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0-ALPHA
    • 4.2, 6.0
    • None
    • None
    • New

    Description

      I tried to sort on some various docvalues fields (just byte arrays), a few problems:

      • Sort.TYPE.BYTES always throws an exception (its not in the switch?)
      • only Sort.TYPE String,Float,Int actually honor 'useDocValues'. This is pretty screwy,
        why don't the others? at least we should throw an exception and don't try to uninvert something.

      In general i dont like the useDocValues: I think this should be done another way...

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rcmuir Robert Muir
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: