Uploaded image for project: 'Bobo'
  1. BOBO-100

Reverse document order not supported in Bobo browse

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects versions: 2.5.0, 3.0.0
    • Fix versions: 3.0.2
    • Components: core
    • Labels:
    • Sprint:

      Description

      Sort by document id in reverse order is not supported currently. Since this option exists in Lucene, it should be supported in bobo as well.
      To reproduce the bug, create SortField as follows:
      SortField sf = new SortField(null, SortField.DOC, true);
      and execute search with this sort field.

      I have attached a simple one-liner fix that needs to be added to SortCollector.java

        Attachments

          Activity

            People

            • Assignee:
              jwang John Wang
              Reporter:
              djotanov DraganJ
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: