You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Tobias Bocanegra (JIRA)" <ji...@apache.org> on 2013/12/16 06:37:08 UTC

[jira] [Updated] (OAK-1286) Enable/expose MoreLikeThis queries

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

Tobias Bocanegra updated OAK-1286:
----------------------------------

    Description: 
The software I'm building currently makes use of Lucene's MoreLikeThis \[1\] facilities in order to match user's search with Nodes in a JCR repository. MoreLikeThis gives us much better results than, for example, simple full text search.

We have currently implemented this by having our own Lucene indices. For simplicity and efficiency, we'd prefer to use the copy of Lucene that is already built into Oak. To do so, I think we would need to add an indexer config. We would also need a way to pass such queries through the jcr query api. We would need something very similar to "rep:similar", but we would want to be able to pass the similar text through the api (I believe the current rep:similar can only take a node to be matched, as opposed to text to be matched).

\[1\] http://lucene.apache.org/core/3_0_3/api/contrib-queries/org/apache/lucene/search/similar/MoreLikeThis.html

  was:
The software I'm building currently makes use of Lucene's MoreLikeThis [1] facilities in order to match user's search with Nodes in a JCR repository. MoreLikeThis gives us much better results than, for example, simple full text search.

We have currently implemented this by having our own Lucene indices. For simplicity and efficiency, we'd prefer to use the copy of Lucene that is already built into Oak. To do so, I think we would need to add an indexer config. We would also need a way to pass such queries through the jcr query api. We would need something very similar to "rep:similar", but we would want to be able to pass the similar text through the api (I believe the current rep:similar can only take a node to be matched, as opposed to text to be matched).



> Enable/expose MoreLikeThis queries
> ----------------------------------
>
>                 Key: OAK-1286
>                 URL: https://issues.apache.org/jira/browse/OAK-1286
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: oak-lucene
>            Reporter: Laurie byrum
>             Fix For: 0.14
>
>
> The software I'm building currently makes use of Lucene's MoreLikeThis \[1\] facilities in order to match user's search with Nodes in a JCR repository. MoreLikeThis gives us much better results than, for example, simple full text search.
> We have currently implemented this by having our own Lucene indices. For simplicity and efficiency, we'd prefer to use the copy of Lucene that is already built into Oak. To do so, I think we would need to add an indexer config. We would also need a way to pass such queries through the jcr query api. We would need something very similar to "rep:similar", but we would want to be able to pass the similar text through the api (I believe the current rep:similar can only take a node to be matched, as opposed to text to be matched).
> \[1\] http://lucene.apache.org/core/3_0_3/api/contrib-queries/org/apache/lucene/search/similar/MoreLikeThis.html



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)