Opened 13 years ago

Last modified 21 months ago

#596 new enhancement

API for suggesting query completions

Reported by: Olly Betts Owned by: tstomar
Priority: normal Milestone: 2.0.0
Component: Library API Version:
Severity: normal Keywords: GoodFirstBug
Cc: vaibhavkansagara249@… Blocked By:
Blocking: Operating System: All

Description

As suggested by codepython777 on IRC, it would be good to have a way to suggest query completions.

This is probably related to query expansion, but simply turning the query so far into a document and using it as the RSet isn't going to help as that will only suggest terms already in the query.

Running the query without the partial term, marking the top N, and expanding might work (and mostly just needs a way to tell QueryParser to parse the query string in a slightly different way to give the query to run to get expand terms), or perhaps there's a simpler way.

Marking as 1.3.x for now, though it's probably an API addition so could be done during 1.4.x.

Change History (6)

comment:1 by Olly Betts, 9 years ago

Milestone: 1.3.x1.4.x

Not a 1.4.0 blocker.

comment:2 by Olly Betts, 7 years ago

Keywords: GoodFirstBug added

comment:3 by Vaibhav Kansagara, 6 years ago

Cc: vaibhavkansagara249@… added
Owner: changed from Olly Betts to Vaibhav Kansagara
Status: newassigned

comment:4 by Vaibhav Kansagara, 6 years ago

Owner: changed from Vaibhav Kansagara to Olly Betts
Status: assignednew

comment:5 by tstomar, 6 years ago

Owner: changed from Olly Betts to tstomar

comment:6 by Olly Betts, 21 months ago

Milestone: 1.4.x2.0.0
Note: See TracTickets for help on using tickets.