[ https://issues.apache.org/jira/browse/SOLR-12273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16453342#comment-16453342 ]
ASF subversion and git services commented on SOLR-12273: -------------------------------------------------------- Commit bea6f421058a59a2a52217845704625aa8ed6fe9 in lucene-solr's branch refs/heads/master from [~joel.bernstein] [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=bea6f42 ] SOLR-12273: Create Stream Evaluators for distance measures > Create Stream Evaluators for distance measures > ---------------------------------------------- > > Key: SOLR-12273 > URL: https://issues.apache.org/jira/browse/SOLR-12273 > Project: Solr > Issue Type: New Feature > Security Level: Public(Default Security Level. Issues are Public) > Reporter: Joel Bernstein > Assignee: Joel Bernstein > Priority: Major > Fix For: 7.4 > > Attachments: SOLR-12273.patch > > > 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: > {code:java} > knn(a, b, manhattan()) > or > dbscan(a, haversineMeters()){code} > > -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org