Coder Social home page Coder Social logo

Inconsistent Autocomplete about api HOT 3 CLOSED

pelias avatar pelias commented on August 16, 2024
Inconsistent Autocomplete

from api.

Comments (3)

hkrishna avatar hkrishna commented on August 16, 2024

This is similar to the empire state bug. As you type empire state you see
that st is analyzed as street and sta to station.. similarly, I think ci is
being analyzed as citadel or something and since we use synonyms as one of
our token filters on name.default field this is a known problem.

I have a few solutions in mind that involves extending the synonyms
filter..
On Feb 19, 2015 11:45 AM, "Peter Johnson a.k.a. insertcoffee" <
[email protected]> wrote:

This UX issue is somewhat subjective, so I'll try to explain why I think
it is a problem.

Consider the gif below:
[image: ss]
https://camo.githubusercontent.com/97d330f3a80c972d0cd63101be7461920a6482da/687474703a2f2f70657465722e6a6f686e736f6e2e73332e616d617a6f6e6177732e636f6d2f756e7072656469637461626c652e676966

As the amount of characters are added to the query "Hackney City Farm" we
get very different results back, those results differ both in which layers
the data comes from; the ratio of local/distant entries and the total
amount of items returned.

For all characters up to and including "hackney " we only get
administrative entries returned, I personally think this is fine with the
exception of a large amount of distant or low population admin entries that
appear before your first word is completely formed.

When you reach 8 characters, eg. "hackney c" you seem to get an odd mix of
admin entries and places, this is also where some entries from over 6000km
appear in the results.

When you type "hackney ci" you don't get any results at all? I find this
behaviour very odd and it seems like a bug?

After typing "hackney cit" or more characters the correct local POI is
returned.

note, to reproduce the above query bias:
https://mapzen.com/pelias#loc=18,51.54503,-0.05639


Reply to this email directly or view it on GitHub
#69.

from api.

dianashk avatar dianashk commented on August 16, 2024

Waiting on ES 2.0.0

from api.

missinglink avatar missinglink commented on August 16, 2024

this issue was resolved by the ngrams release

from api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.