You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2007/05/08 18:31:15 UTC

[jira] Created: (JCR-901) Support synonym searches

Support synonym searches
------------------------

                 Key: JCR-901
                 URL: https://issues.apache.org/jira/browse/JCR-901
             Project: Jackrabbit
          Issue Type: New Feature
          Components: query
    Affects Versions: 1.3
            Reporter: Marcel Reutegger
            Priority: Minor
             Fix For: 1.4


Jackrabbit should support synonym searches in the jcr:contains function like Google does.

Example:

//element(*, nt:resource)[jcr:contains(., '~food')]

-> finds all nt:resource nodes that contain the word food or synonyms for food.

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


Re: [jira] Updated: (JCR-901) Support synonym searches

Posted by Jukka Zitting <ju...@gmail.com>.
Hi,

On 5/8/07, Marcel Reutegger (JIRA) <ji...@apache.org> wrote:
> Marcel Reutegger updated JCR-901:
> ---------------------------------
>
>     Affects Version/s:     (was: 1.3)
>
> Since it's a new feature, it doesn't really have an affected version...

Good point! My preference would be to only use the "Affects Version/s"
field for "Bug" issues where the field should indicates all the
Jackrabbit releases that the reported bug is known to affect.

Improvement and feature issues should not have the fix version, as
they do not really "affect" any previous releases.

BR,

Jukka Zitting

[jira] Commented: (JCR-901) Support synonym searches

Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12494454 ] 

Marcel Reutegger commented on JCR-901:
--------------------------------------

In general I agree. The problem I had was that I didn't know how to supply a parameter to a parameter ;) and my intention was to make the wordnet synonym provider deployment as easy as possible.

How about this:

- add a new parameter: synonymProviderOptions
- Extend the SynonymProvider interface with an init method that passes in the options string

> Support synonym searches
> ------------------------
>
>                 Key: JCR-901
>                 URL: https://issues.apache.org/jira/browse/JCR-901
>             Project: Jackrabbit
>          Issue Type: New Feature
>          Components: query
>            Reporter: Marcel Reutegger
>            Priority: Minor
>             Fix For: 1.4
>
>
> Jackrabbit should support synonym searches in the jcr:contains function like Google does.
> Example:
> //element(*, nt:resource)[jcr:contains(., '~food')]
> -> finds all nt:resource nodes that contain the word food or synonyms for food.

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


[jira] Resolved: (JCR-901) Support synonym searches

Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcel Reutegger resolved JCR-901.
----------------------------------

    Resolution: Fixed

Added an interface that allows to plug in a custom SynonymProvider.

Committed in revision: 536247

> Support synonym searches
> ------------------------
>
>                 Key: JCR-901
>                 URL: https://issues.apache.org/jira/browse/JCR-901
>             Project: Jackrabbit
>          Issue Type: New Feature
>          Components: query
>            Reporter: Marcel Reutegger
>            Priority: Minor
>             Fix For: 1.4
>
>
> Jackrabbit should support synonym searches in the jcr:contains function like Google does.
> Example:
> //element(*, nt:resource)[jcr:contains(., '~food')]
> -> finds all nt:resource nodes that contain the word food or synonyms for food.

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


[jira] Commented: (JCR-901) Support synonym searches

Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12494341 ] 

Marcel Reutegger commented on JCR-901:
--------------------------------------

Added a SynonymProvider implementation that uses WordNet to get synonyms for a search term.

See: contrib/wordnet-synonyms

Please note that this contrib requires some manual steps to build the jar file! More information can be found in the README.txt file.

Committed in revision: 536250

> Support synonym searches
> ------------------------
>
>                 Key: JCR-901
>                 URL: https://issues.apache.org/jira/browse/JCR-901
>             Project: Jackrabbit
>          Issue Type: New Feature
>          Components: query
>            Reporter: Marcel Reutegger
>            Priority: Minor
>             Fix For: 1.4
>
>
> Jackrabbit should support synonym searches in the jcr:contains function like Google does.
> Example:
> //element(*, nt:resource)[jcr:contains(., '~food')]
> -> finds all nt:resource nodes that contain the word food or synonyms for food.

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


[jira] Commented: (JCR-901) Support synonym searches

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12494377 ] 

Jukka Zitting commented on JCR-901:
-----------------------------------

Instead of bundling the synonym database in the jar file I think it would make more sense to add a configuration entry for a user to indicate which file in the deployment environment contains the synonym database. I guess the current configuration mechanism doesn't allow making such entries easily pluggable for alternative synonym mechanisms...

> Support synonym searches
> ------------------------
>
>                 Key: JCR-901
>                 URL: https://issues.apache.org/jira/browse/JCR-901
>             Project: Jackrabbit
>          Issue Type: New Feature
>          Components: query
>            Reporter: Marcel Reutegger
>            Priority: Minor
>             Fix For: 1.4
>
>
> Jackrabbit should support synonym searches in the jcr:contains function like Google does.
> Example:
> //element(*, nt:resource)[jcr:contains(., '~food')]
> -> finds all nt:resource nodes that contain the word food or synonyms for food.

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


[jira] Updated: (JCR-901) Support synonym searches

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting updated JCR-901:
------------------------------

    Component/s: jackrabbit-core

> Support synonym searches
> ------------------------
>
>                 Key: JCR-901
>                 URL: https://issues.apache.org/jira/browse/JCR-901
>             Project: Jackrabbit
>          Issue Type: New Feature
>          Components: jackrabbit-core, query
>            Reporter: Marcel Reutegger
>            Priority: Minor
>             Fix For: 1.4
>
>
> Jackrabbit should support synonym searches in the jcr:contains function like Google does.
> Example:
> //element(*, nt:resource)[jcr:contains(., '~food')]
> -> finds all nt:resource nodes that contain the word food or synonyms for food.

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


[jira] Updated: (JCR-901) Support synonym searches

Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcel Reutegger updated JCR-901:
---------------------------------

    Affects Version/s:     (was: 1.3)

Since it's a new feature, it doesn't really have an affected version...

> Support synonym searches
> ------------------------
>
>                 Key: JCR-901
>                 URL: https://issues.apache.org/jira/browse/JCR-901
>             Project: Jackrabbit
>          Issue Type: New Feature
>          Components: query
>            Reporter: Marcel Reutegger
>            Priority: Minor
>             Fix For: 1.4
>
>
> Jackrabbit should support synonym searches in the jcr:contains function like Google does.
> Example:
> //element(*, nt:resource)[jcr:contains(., '~food')]
> -> finds all nt:resource nodes that contain the word food or synonyms for food.

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