You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2014/02/26 13:38:20 UTC

[jira] [Commented] (LUCENE-5350) Add Context Aware Suggester

    [ https://issues.apache.org/jira/browse/LUCENE-5350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13912821#comment-13912821 ] 

Michael McCandless commented on LUCENE-5350:
--------------------------------------------

I think it would be simple to add context to AnalyzingInfixSuggester ... it'd just become a DOCS_ONLY field on each document.

Maybe we could break this issue up, e.g. add the "contexts" to the InputIterator as a separate issue?  Then we can separately address context-awareness for each of our suggester impls?


> Add Context Aware Suggester
> ---------------------------
>
>                 Key: LUCENE-5350
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5350
>             Project: Lucene - Core
>          Issue Type: New Feature
>          Components: core/search
>            Reporter: Areek Zillur
>             Fix For: 4.7, 5.0
>
>         Attachments: LUCENE-5350-benchmark.patch, LUCENE-5350-benchmark.patch, LUCENE-5350.patch, LUCENE-5350.patch
>
>
> It would be nice to have a Context Aware Suggester (i.e. a suggester that could return suggestions depending on some specified context(s)).
> Use-cases: 
>   - location-based suggestions:
>       -- returns suggestions which 'match' the context of a particular area
>           --- suggest restaurants names which are in Palo Alto (context -> Palo Alto)
>   - category-based suggestions:
>       -- returns suggestions for items that are only in certain categories/genres (contexts)
>           --- suggest movies that are of the genre sci-fi and adventure (context -> [sci-fi, adventure])



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org