API for suggesting query completions
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)
Keywords: |
GoodFirstBug added
|
Cc: |
vaibhavkansagara249@… added
|
Owner: |
changed from Olly Betts to Vaibhav Kansagara
|
Status: |
new → assigned
|
Owner: |
changed from Vaibhav Kansagara to Olly Betts
|
Status: |
assigned → new
|
Owner: |
changed from Olly Betts to tstomar
|
Not a 1.4.0 blocker.