Closed Bug 1227999 Opened 9 years ago Closed 4 years ago

Use keyword searches' url as history search key

Categories

(Firefox :: Address Bar, defect, P3)

defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: chutten, Unassigned)

Details

As many do, I have a keyword search for bugzilla. I made sure to name it 'bug', a substring of the title/domain, so that the awesomebar could suggest from my history previous searches I've made.

Another of my quicksearches is for wiki.mozilla.org, but no domain/title substring makes sense for my brain. So it is 'wikimo' and searching from the awesomebar is significantly less awesome because "wikimo mentoring" has only one result, though I've searched for "bug mentoring" before.

Since the awesomebar recognizes keyword searches as you type (insofar as it presents a magnifying glass. I'm guessing via _matchFirstHeuristicResult), for relevance perhaps it could substitute the keyword search's domain or partial url path for the first token of the locationbar input? Then "wikimo mentoring" would find frecent history results for "wiki.mozilla.org mentoring" instead of finding nothing.

Maybe, to not make too much of a difference at first, it could do this only if the awesomebar results would be nearly empty or not particularly frecent?
Priority: -- → P3

IIRC last year we started returning suggestions from history for the keyword domain, so this is apparently fixed.
Is the current behavior more or less what you were looking for?

Flags: needinfo?(chutten)

Oh here's the bug! Yes, I noticed that this was fixed but I didn't notice that this bug wasn't closed. I'll close this as WORKSFORME unless/until someone can find the duplicate.

Status: NEW → RESOLVED
Closed: 4 years ago
Flags: needinfo?(chutten)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.