jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JCR-906) Introduce similarity function
Date Wed, 09 May 2007 13:58:15 GMT

     [ https://issues.apache.org/jira/browse/JCR-906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Marcel Reutegger resolved JCR-906.

       Resolution: Fixed
    Fix Version/s: 1.4

Added function rep:similar(<abs_path_string>)

I copied the MoreLikeThis class from the lucene similar contribution in order to not create
a new dependency.

To work properly this function requires that the parameter 'supportHighlighting' is set to
'true'. If the parameter is not set the rep:similar() function will not match any similar

Committed in revision: 536515

> Introduce similarity function
> -----------------------------
>                 Key: JCR-906
>                 URL: https://issues.apache.org/jira/browse/JCR-906
>             Project: Jackrabbit
>          Issue Type: New Feature
>          Components: query
>            Reporter: Marcel Reutegger
>            Priority: Minor
>             Fix For: 1.4
> The query handler should support a similarity function that allows one to find nodes
that are similar to a given existing one.
> Example:
> //*[rep:similar("/foo/bar")]
> Finds nodes that are similar to node /foo/bar.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message