Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Fulltext query: use specialized search enpoint #1085

Merged
merged 1 commit into from
May 21, 2021
Merged

Conversation

remi-dupre
Copy link
Contributor

Description

Use the new endpoint search introduced in Idunn by Qwant/idunn#224 (and enriched by Qwant/idunn#226) intended to give more relevant results when the maps tab is clicked from Qwant search.

This new endpoints has the exact same input/output format as autocomplete except that its result will contain at most one item, which should have passed more quality checks than the first result of a regular autocomplete query.

Screenshots

Typically, when searching "rue de Rennes, Paris", the first result was "rue de Paris, Rennes", the new endpoints introduces some validation on the order of the queries.

https://localhost:3000?q=rue de Rennes, Paris https://www.qwant.com/maps?q=rue de Rennes, Paris
Screen Shot 2021-05-18 at 11 01 06 Screen Shot 2021-05-18 at 11 01 10

@remi-dupre remi-dupre marked this pull request as ready for review May 17, 2021 09:28
@amatissart amatissart added Awaits Idunn release This PR depends on a recent feature implemented in Idunn, that is not released to production yet. and removed Awaits Idunn release This PR depends on a recent feature implemented in Idunn, that is not released to production yet. labels May 17, 2021
@remi-dupre remi-dupre merged commit 0663f36 into master May 21, 2021
@remi-dupre remi-dupre deleted the search-endpoint branch May 21, 2021 09:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants