commonsearch / cosr-front

Frontend of Common Search. Go server for fetching and rendering results + HTML5 UI to browse them.
https://uidemo.commonsearch.org
Apache License 2.0
61 stars 13 forks source link

Detect queries that look like domain names #25

Open sylvinus opened 8 years ago

sylvinus commented 8 years ago

In this case, we may want to give a special boost for matching domains, and possibly suggest replacing the query by a "site:xxx" query after #23 is done.

We should also make sure the tokenization of the query matches the one we do at index time.