jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tommaso Teofili (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (OAK-2455) Support for invoking suggestor via Query
Date Wed, 04 Feb 2015 11:59:34 GMT

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

Tommaso Teofili resolved OAK-2455.
----------------------------------
    Resolution: Fixed
      Assignee: Tommaso Teofili

fixed in r1657128

> Support for invoking suggestor via Query
> ----------------------------------------
>
>                 Key: OAK-2455
>                 URL: https://issues.apache.org/jira/browse/OAK-2455
>             Project: Jackrabbit Oak
>          Issue Type: Sub-task
>          Components: query
>            Reporter: Chetan Mehrotra
>            Assignee: Tommaso Teofili
>             Fix For: 1.1.6
>
>         Attachments: OAK-2455.0.patch, OAK-2455.1.patch
>
>
> Similar to planned support for spell check OAK-2175 we need to provide support for suggestor
via the Query engine. It should be possible to various parameters as supported by Lucene suggestor
impl [1]
> {code}
> SELECT rep:suggest() FROM nt:base WHERE jcr:path = '/' AND SUGGEST('fox is')
> {code}
> Such an approach should allow
> # Selecting the right suggestor index via path
> # Ability to pass parameter like number of suggestions required, context etc
> ## search phrase
> ## Set of contexts - contexts to filter the lookup by
> ## onlyMorePopular - return only more popular results
> ## num - maximum number of results to return
> [1] https://github.com/apache/lucene-solr/blob/trunk/lucene/suggest/src/java/org/apache/lucene/search/suggest/Lookup.java#L252



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message