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

Create Stream Evaluators for distance measures

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 8.1, master (9.0)
    • Component/s: None
    • Labels:
      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

              • Assignee:
                joel.bernstein Joel Bernstein
                Reporter:
                joel.bernstein Joel Bernstein
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: