Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-7528

Simplify Interfaces used in Streaming Expressions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 5.2, 6.0
    • 6.0
    • SolrJ

    Description

      FieldComparator and StreamComparator have been collapsed into a single class StreamComparator. There was no need for a separate abstract class.

      Added null checks in StreamComparator. For now if both are null then they will evaluate to equal. We can add a later enhancement under a new ticket to make that configurable.

      Interfaces ExpressibleStream and ExpressibleComparator have been collapsed into interface Expressible. They defined the same interface and there's no reason to have separate interfaces for them.

      Attachments

        1. SOLR-7528.patch
          57 kB
          Dennis Gove

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dpgove Dennis Gove
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: