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

Create Stream Evaluators for distance measures

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 8.1, 9.0
    • None
    • None

    Description

      Currently distance measures are instantiated by passing the name of the distance measure to a function, for example the knn function can be passed the named parameter: distance="manhattan". 

      This ticket will create a specific function for each distance measure which will be used to specify which distance measure to apply. With this design the knn function would be passed the function: manhattan() or any of the other distance measure functions.

      Sample syntax:

      knn(a, b, manhattan())
      
      or
      
      dbscan(a, haversineMeters())

       

       

      Attachments

        1. SOLR-12273.patch
          27 kB
          Joel Bernstein

        Issue Links

          Activity

            People

              jbernste Joel Bernstein
              jbernste Joel Bernstein
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: