The current setup that we use for type ahead on the wine name is that we look at individual words on in the elasticstore. This is good for type ahead of some words like 'Chardonney', but I don't think help for complete wines.
I wonder if instead, we can return complete wine names from the Elastic Search. The problem I see with this is that we can get a lot of names if we type from the front, but we can quickly get hits if we type from the middle. I don't know how we make that apparent to users though.
User gets
| --- |
CREMANT BLANC DE BLANCS, Roederer
Jamin Brut (Roederer)
Louis Roederer Brut
Louis Roederer Cour Royale Brut
Louis Roederer Cremant Blanc de Blancs
The current setup that we use for type ahead on the wine name is that we look at individual words on in the elasticstore. This is good for type ahead of some words like 'Chardonney', but I don't think help for complete wines.
I wonder if instead, we can return complete wine names from the Elastic Search. The problem I see with this is that we can get a lot of names if we type from the front, but we can quickly get hits if we type from the middle. I don't know how we make that apparent to users though.
Users types: Chatea...
User gets | --- | Chateau Ausone CHATEAU AUSONE (St. Emilion) Chateau Beaumont CHATEAU BELAIR Saint-Emilion CHATEAU BELAIR (St. Emilion)
But if Users types: Bela
User gets | --- | CHATEAU BELAIR Saint-Emilion CHATEAU BELAIR (St. Emilion)
Or User types: Roed
User gets | --- | CREMANT BLANC DE BLANCS, Roederer Jamin Brut (Roederer) Louis Roederer Brut Louis Roederer Cour Royale Brut Louis Roederer Cremant Blanc de Blancs