apache / apache/lucene

Add Context Aware Suggester [LUCENE-5350]

Open
#6,414 15 comments 0 reactions 0 assignees View on GitHub
legacy-jira-fix-version:4.9 legacy-jira-fix-version:6.0 legacy-jira-priority:Major module:core/search type:enhancement
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

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])

---
Migrated from [LUCENE-5350](https://issues.apache.org/jira/browse/LUCENE-5350) by Areek Zillur (@areek), 3 votes, updated May 09 2016
Attachments: [LUCENE-5350.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-5350/LUCENE-5350.patch) (versions: 2), [LUCENE-5350-benchmark.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-5350/LUCENE-5350-benchmark.patch) (versions: 2)

Contributor guide

Open the contributing guide

Research direction

Read the migrated LUCENE-5350 issue and its attached LUCENE-5350.patch and LUCENE-5350-benchmark.patch first. Compare the proposed approaches with the location- and category-based use cases, then establish the API, tests, and acceptance criteria needed for context-dependent suggestions before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.