New issue
Advanced search Search tips

Issue 856582 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , iOS , Chrome , Mac
Pri: 3
Type: Bug



Sign in to add a comment

HQP Scores Change Dramatically Adding Scheme to Input

Reported by teo8...@gmail.com, Jun 26 2018

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Steps to reproduce the problem:
Let's say I have an URL in my history that I have visited plenty of times, that is:

http://somedomain.com/foo-keyword-bar.html

and I want to quickly find it without remembering and typing the whole url.

Try entering the following inputs into the omnibox and compare the results: (without quotes)

1. "https://somedomain.com keyword"

2. "somedomain.com keyword"

(note: for the second one, after you have typed the domain, by default the omnibox may suggest you "search somedomain.com for:", so hit Backspace to go back to just "somedomain.com" and keep typing. I don't want to do a search within the website, I want to go directly to an url that I know is in my history)

What is the expected behavior?
Both cases should yield the same exact result: the url http://somedomain.com/foo-keyword-bar.html should appear in the autocomplete suggested results, perhaps among other results if any.

What went wrong?
The expected behavior happens in case (2), but NOT in case (1).

That's stupid and makes no sense. There's no reason why the two should behave differently. What else can I mean by "https://somedomain.com [A F***ING WHITESPACE] keyword" if not "an url that contains/starts with 'https://somedomain.com' and also contains the substring 'keyword'"?

I don't know if the reasoning here is: "This starts with 'https://' so it must be a full url, so we only match urls that begin with the substring 'https://somedomain.com[WHITESPACE]keyword"
but if that is the case then it's stupid, because a domain name cannot contain spaces.

If I was typing "https://somedomain.com/foo keyword" then the behavior would make sense.

Did this work before? N/A 

Chrome version: 67.0.3396.87  Channel: n/a
OS Version: 
Flash Version:
 
Labels: Needs-Triage-M67
Components: -UI UI>Browser>Omnibox
Labels: Triaged-ET M-69 Target-69 FoundIn-69 OS-Mac OS-Windows
Status: Untriaged (was: Unconfirmed)
Able to reproduce the issue on Mac 10.13.3, Win-10 and Ubuntu 17.10 using chrome reported version #67.0.3396.99 and latest canary #69.0.3474.0.
This is a non-regression issue as it is observed from M60 old builds. 

Hence, marking it as untriaged to get more inputs from dev team.

Thanks...!!
Labels: -Pri-2 Hotlist-OmniboxRanking OS-Android OS-Chrome OS-iOS Pri-3
Status: Available (was: Untriaged)
Summary: HQP Fails to Return Results When Omnibox Input Contains Scheme (was: omnibox utter nonsense)
Thanks for the report!
Summary: HQP Scores Change Dramatically Adding Scheme to Input (was: HQP Fails to Return Results When Omnibox Input Contains Scheme)
This is weird.  The scoring seems to change a lot when you add a scheme/protocol.

Clarifying summary line.
I might be wrong, but I don't think this has anything to do with score, but rather with either considering the space as a separator, or url-encoding it and considering it as a character in the domain name.

Here are the outputs of chrome://omnibox with the two searches. Note that when typing the url with the protocol, the space shows up encoded as "%20" everywhere. You don't see the "%20" at all when typing just the domain name.


(BTW in my original report I sometimes typed "http://" and sometimes "https://" but that was a mistake in typing the report, not when doing the tests or facing the issue in real life. I should always read "http://" or always "https://" in all cases consistently.)


==================== CASE 1 =====================
Enter omnibox input text:  
http://ricette.giallozafferano.it fiori
 

Input parameters:

  Prevent inline autocomplete

  In keyword mode

Current page context:  

Display parameters:

  Show incomplete results

  Show all details

  Show results per provider, not just merged results

cursor position = 39

elapsed time = 1ms

all providers done = false

host = ricette.giallozafferano.it fiori has isTypedHost = false

Combined results.
Provider	Type	Relevance	Contents	Can Be Default	Starred	Description	URL	Fill Into Edit	Inline Autocompletion	Del	Prev	Tran	Done	Associated Keyword	Keyword	Duplicates	Additional Info
Search	search-what-you-typed	1300	http://ricette.giallozafferano.it fiori	✔	✗	Google Search	https://www.google.es/search?q=http%3A%2F%2Fricette.giallozafferano.it+fiori&oq=http%3A%2F%2Fricette.giallozafferano.it+fiori&aqs=chrome..69i57j69i58&sourceid=chrome&ie=UTF-8	http://ricette.giallozafferano.it fiori		✗	✗	5	✗		google.es	0	
relevance_from_server:	false
should_prefetch:	false
HistoryURL	url-what-you-typed	1203	http://ricette.giallozafferano.it%20fiori	✗	✗		http://ricette.giallozafferano.it%20fiori/	http://ricette.giallozafferano.it%20fiori		✗	✗	1	✗			0	

Results for individual providers.
Provider	Type	Relevance	Contents	Can Be Default	Starred	Description	URL	Fill Into Edit	Inline Autocompletion	Del	Prev	Tran	Done	Associated Keyword	Keyword	Duplicates	Additional Info
HistoryURL	url-what-you-typed	1203	http://ricette.giallozafferano.it%20fiori	✗	✗		http://ricette.giallozafferano.it%20fiori/	http://ricette.giallozafferano.it%20fiori		✗	✗	1	✗			0	

Provider	Type	Relevance	Contents	Can Be Default	Starred	Description	URL	Fill Into Edit	Inline Autocompletion	Del	Prev	Tran	Done	Associated Keyword	Keyword	Duplicates	Additional Info
Search	search-what-you-typed	1300	http://ricette.giallozafferano.it fiori	✔	✗		https://www.google.es/search?q=http%3A%2F%2Fricette.giallozafferano.it+fiori&sourceid=chrome&ie=UTF-8	http://ricette.giallozafferano.it fiori		✗	✗	5	✗		google.es	0	
relevance_from_server:	false
should_prefetch:	false

cursor position = 39

elapsed time = 2ms

all providers done = false

host = ricette.giallozafferano.it fiori has isTypedHost = false

Combined results.
Provider	Type	Relevance	Contents	Can Be Default	Starred	Description	URL	Fill Into Edit	Inline Autocompletion	Del	Prev	Tran	Done	Associated Keyword	Keyword	Duplicates	Additional Info
Search	search-what-you-typed	1300	http://ricette.giallozafferano.it fiori	✔	✗	Google Search	https://www.google.es/search?q=http%3A%2F%2Fricette.giallozafferano.it+fiori&oq=http%3A%2F%2Fricette.giallozafferano.it+fiori&aqs=chrome..69i57j69i58&sourceid=chrome&ie=UTF-8	http://ricette.giallozafferano.it fiori		✗	✗	5	✗		google.es	0	
relevance_from_server:	false
should_prefetch:	false
HistoryURL	url-what-you-typed	1203	http://ricette.giallozafferano.it%20fiori	✗	✗		http://ricette.giallozafferano.it%20fiori/	http://ricette.giallozafferano.it%20fiori		✗	✗	1	✔			0	

Results for individual providers.
Provider	Type	Relevance	Contents	Can Be Default	Starred	Description	URL	Fill Into Edit	Inline Autocompletion	Del	Prev	Tran	Done	Associated Keyword	Keyword	Duplicates	Additional Info
HistoryURL	url-what-you-typed	1203	http://ricette.giallozafferano.it%20fiori	✗	✗		http://ricette.giallozafferano.it%20fiori/	http://ricette.giallozafferano.it%20fiori		✗	✗	1	✔			0	

Provider	Type	Relevance	Contents	Can Be Default	Starred	Description	URL	Fill Into Edit	Inline Autocompletion	Del	Prev	Tran	Done	Associated Keyword	Keyword	Duplicates	Additional Info
Search	search-what-you-typed	1300	http://ricette.giallozafferano.it fiori	✔	✗		https://www.google.es/search?q=http%3A%2F%2Fricette.giallozafferano.it+fiori&sourceid=chrome&ie=UTF-8	http://ricette.giallozafferano.it fiori		✗	✗	5	✗		google.es	0	
relevance_from_server:	false
should_prefetch:	false

cursor position = 39

elapsed time = 129ms

all providers done = true

host = ricette.giallozafferano.it fiori has isTypedHost = false

Combined results.
Provider	Type	Relevance	Contents	Can Be Default	Starred	Description	URL	Fill Into Edit	Inline Autocompletion	Del	Prev	Tran	Done	Associated Keyword	Keyword	Duplicates	Additional Info
Search	search-what-you-typed	1300	http://ricette.giallozafferano.it fiori	✔	✗	Google Search	https://www.google.es/search?q=http%3A%2F%2Fricette.giallozafferano.it+fiori&oq=http%3A%2F%2Fricette.giallozafferano.it+fiori&aqs=chrome..69i57j69i58&sourceid=chrome&ie=UTF-8	http://ricette.giallozafferano.it fiori		✗	✗	5	✔		google.es	0	
relevance_from_server:	true
should_prefetch:	false
HistoryURL	url-what-you-typed	1203	http://ricette.giallozafferano.it%20fiori	✗	✗		http://ricette.giallozafferano.it%20fiori/	http://ricette.giallozafferano.it%20fiori		✗	✗	1	✔			0	

Results for individual providers.
Provider	Type	Relevance	Contents	Can Be Default	Starred	Description	URL	Fill Into Edit	Inline Autocompletion	Del	Prev	Tran	Done	Associated Keyword	Keyword	Duplicates	Additional Info
HistoryURL	url-what-you-typed	1203	http://ricette.giallozafferano.it%20fiori	✗	✗		http://ricette.giallozafferano.it%20fiori/	http://ricette.giallozafferano.it%20fiori		✗	✗	1	✔			0	

Provider	Type	Relevance	Contents	Can Be Default	Starred	Description	URL	Fill Into Edit	Inline Autocompletion	Del	Prev	Tran	Done	Associated Keyword	Keyword	Duplicates	Additional Info
Search	search-what-you-typed	1300	http://ricette.giallozafferano.it fiori	✔	✗		https://www.google.es/search?q=http%3A%2F%2Fricette.giallozafferano.it+fiori&sourceid=chrome&ie=UTF-8	http://ricette.giallozafferano.it fiori		✗	✗	5	✔		google.es	0	
relevance_from_server:	true
should_prefetch:	false

=============================================


=========================== CASE 2 ========================
Enter omnibox input text:  
ricette.giallozafferano.it fiori
 

Input parameters:

  Prevent inline autocomplete

  In keyword mode

Current page context:  

Display parameters:

  Show incomplete results

  Show all details

  Show results per provider, not just merged results

cursor position = 32

elapsed time = 1ms

all providers done = false

host = ricette.giallozafferano.it fiori has isTypedHost = false

Combined results.
Provider	Type	Relevance	Contents	Can Be Default	Starred	Description	URL	Fill Into Edit	Inline Autocompletion	Del	Prev	Tran	Done	Associated Keyword	Keyword	Duplicates	Additional Info
Search	search-what-you-typed	1300	ricette.giallozafferano.it fiori	✔	✗	Google Search	https://www.google.es/search?q=ricette.giallozafferano.it+fiori&oq=ricette.giallozafferano.it+fiori&aqs=chrome..69i57j69i60&sourceid=chrome&ie=UTF-8	ricette.giallozafferano.it fiori		✗	✗	5	✗		google.es	0	
relevance_from_server:	false
should_prefetch:	false
HistoryQuick	history-url	1302	ricette.giallozafferano.it/Fiori-di-zucca-ripieni-di-speck-e-mozzarella.html	✗	✗	Ricetta Fiori di zucca ripieni di speck e mozzarella - La Ricetta di GialloZafferano	https://ricette.giallozafferano.it/Fiori-di-zucca-ripieni-di-speck-e-mozzarella.html	https://ricette.giallozafferano.it/Fiori-di-zucca-ripieni-di-speck-e-mozzarella.html		✔	✗	1	✔			0	
last visit:	0 hours ago
typed count:	0
visit count:	3

Results for individual providers.
Provider	Type	Relevance	Contents	Can Be Default	Starred	Description	URL	Fill Into Edit	Inline Autocompletion	Del	Prev	Tran	Done	Associated Keyword	Keyword	Duplicates	Additional Info
HistoryQuick	history-url	1302	ricette.giallozafferano.it/Fiori-di-zucca-ripieni-di-speck-e-mozzarella.html	✗	✗	Ricetta Fiori di zucca ripieni di speck e mozzarella - La Ricetta di GialloZafferano	https://ricette.giallozafferano.it/Fiori-di-zucca-ripieni-di-speck-e-mozzarella.html	https://ricette.giallozafferano.it/Fiori-di-zucca-ripieni-di-speck-e-mozzarella.html		✔	✗	1	✔			0	
last visit:	0 hours ago
typed count:	0
visit count:	3

Provider	Type	Relevance	Contents	Can Be Default	Starred	Description	URL	Fill Into Edit	Inline Autocompletion	Del	Prev	Tran	Done	Associated Keyword	Keyword	Duplicates	Additional Info
Search	search-what-you-typed	1300	ricette.giallozafferano.it fiori	✔	✗		https://www.google.es/search?q=ricette.giallozafferano.it+fiori&sourceid=chrome&ie=UTF-8	ricette.giallozafferano.it fiori		✗	✗	5	✗		google.es	0	
relevance_from_server:	false
should_prefetch:	false

cursor position = 32

elapsed time = 1ms

all providers done = false

host = ricette.giallozafferano.it fiori has isTypedHost = false

Combined results.
Provider	Type	Relevance	Contents	Can Be Default	Starred	Description	URL	Fill Into Edit	Inline Autocompletion	Del	Prev	Tran	Done	Associated Keyword	Keyword	Duplicates	Additional Info
Search	search-what-you-typed	1300	ricette.giallozafferano.it fiori	✔	✗	Google Search	https://www.google.es/search?q=ricette.giallozafferano.it+fiori&oq=ricette.giallozafferano.it+fiori&aqs=chrome..69i57j69i60&sourceid=chrome&ie=UTF-8	ricette.giallozafferano.it fiori		✗	✗	5	✗		google.es	0	
relevance_from_server:	false
should_prefetch:	false
HistoryQuick	history-url	1302	ricette.giallozafferano.it/Fiori-di-zucca-ripieni-di-speck-e-mozzarella.html	✗	✗	Ricetta Fiori di zucca ripieni di speck e mozzarella - La Ricetta di GialloZafferano	https://ricette.giallozafferano.it/Fiori-di-zucca-ripieni-di-speck-e-mozzarella.html	https://ricette.giallozafferano.it/Fiori-di-zucca-ripieni-di-speck-e-mozzarella.html		✔	✗	1	✔			0	
last visit:	0 hours ago
typed count:	0
visit count:	3

Results for individual providers.
Provider	Type	Relevance	Contents	Can Be Default	Starred	Description	URL	Fill Into Edit	Inline Autocompletion	Del	Prev	Tran	Done	Associated Keyword	Keyword	Duplicates	Additional Info
HistoryQuick	history-url	1302	ricette.giallozafferano.it/Fiori-di-zucca-ripieni-di-speck-e-mozzarella.html	✗	✗	Ricetta Fiori di zucca ripieni di speck e mozzarella - La Ricetta di GialloZafferano	https://ricette.giallozafferano.it/Fiori-di-zucca-ripieni-di-speck-e-mozzarella.html	https://ricette.giallozafferano.it/Fiori-di-zucca-ripieni-di-speck-e-mozzarella.html		✔	✗	1	✔			0	
last visit:	0 hours ago
typed count:	0
visit count:	3

Provider	Type	Relevance	Contents	Can Be Default	Starred	Description	URL	Fill Into Edit	Inline Autocompletion	Del	Prev	Tran	Done	Associated Keyword	Keyword	Duplicates	Additional Info
Search	search-what-you-typed	1300	ricette.giallozafferano.it fiori	✔	✗		https://www.google.es/search?q=ricette.giallozafferano.it+fiori&sourceid=chrome&ie=UTF-8	ricette.giallozafferano.it fiori		✗	✗	5	✗		google.es	0	
relevance_from_server:	false
should_prefetch:	false

cursor position = 32

elapsed time = 129ms

all providers done = true

host = ricette.giallozafferano.it fiori has isTypedHost = false

Combined results.
Provider	Type	Relevance	Contents	Can Be Default	Starred	Description	URL	Fill Into Edit	Inline Autocompletion	Del	Prev	Tran	Done	Associated Keyword	Keyword	Duplicates	Additional Info
Search	search-what-you-typed	1300	ricette.giallozafferano.it fiori	✔	✗	Google Search	https://www.google.es/search?q=ricette.giallozafferano.it+fiori&oq=ricette.giallozafferano.it+fiori&aqs=chrome..69i57j69i60&sourceid=chrome&ie=UTF-8	ricette.giallozafferano.it fiori		✗	✗	5	✔		google.es	0	
relevance_from_server:	true
should_prefetch:	false
HistoryQuick	history-url	1302	ricette.giallozafferano.it/Fiori-di-zucca-ripieni-di-speck-e-mozzarella.html	✗	✗	Ricetta Fiori di zucca ripieni di speck e mozzarella - La Ricetta di GialloZafferano	https://ricette.giallozafferano.it/Fiori-di-zucca-ripieni-di-speck-e-mozzarella.html	https://ricette.giallozafferano.it/Fiori-di-zucca-ripieni-di-speck-e-mozzarella.html		✔	✗	1	✔			0	
last visit:	0 hours ago
typed count:	0
visit count:	3

Results for individual providers.
Provider	Type	Relevance	Contents	Can Be Default	Starred	Description	URL	Fill Into Edit	Inline Autocompletion	Del	Prev	Tran	Done	Associated Keyword	Keyword	Duplicates	Additional Info
HistoryQuick	history-url	1302	ricette.giallozafferano.it/Fiori-di-zucca-ripieni-di-speck-e-mozzarella.html	✗	✗	Ricetta Fiori di zucca ripieni di speck e mozzarella - La Ricetta di GialloZafferano	https://ricette.giallozafferano.it/Fiori-di-zucca-ripieni-di-speck-e-mozzarella.html	https://ricette.giallozafferano.it/Fiori-di-zucca-ripieni-di-speck-e-mozzarella.html		✔	✗	1	✔			0	
last visit:	0 hours ago
typed count:	0
visit count:	3

Provider	Type	Relevance	Contents	Can Be Default	Starred	Description	URL	Fill Into Edit	Inline Autocompletion	Del	Prev	Tran	Done	Associated Keyword	Keyword	Duplicates	Additional Info
Search	search-what-you-typed	1300	ricette.giallozafferano.it fiori	✔	✗		https://www.google.es/search?q=ricette.giallozafferano.it+fiori&sourceid=chrome&ie=UTF-8	ricette.giallozafferano.it fiori		✗	✗	5	✔		google.es	0	
relevance_from_server:	true
should_prefetch:	false
============================================
And note that in case 1 the visited URL does not appear at all in the results, it's not that it appears with a lower score.

Sign in to add a comment