Comments (3)
Oh yeah, this is a good one. It's kinda inherent to the scoring mechanisms of Elasticsearch.
Maybe we can solve this by modifying the scoring settings of Elasticsearch, which is easier and more flexible in newer versions. We might be able to split altnames into separate fields in a clever way as well. But I think this sort of case will be pretty hard, though not impossible, to solve.
from openstreetmap.
Last night I went into a deep-dive on tuning the BM25 algorithm, I suspect that we could reduce k1
to either 0 or near 0 to resolve this issue.
It's a big topic in itself so I'll start a discussion over on pelias/schema
[edit] I think maybe we actually want to set k1=1
?
from openstreetmap.
Since we've decided this issue is mostly unsolvable without major changes to how we index data in Elasticsearch, let's talk mitigation:
In this particular case, one name is a prefix of the other. Is it worth it to detect that and skip the shorter version?
In the other main case I've noticed with OSM data, the names only differ by whitespace. That one might be trickier, but we could probably still do it.
from openstreetmap.
Related Issues (20)
- An in-range update of pelias-config is breaking the build 🚨 HOT 2
- An in-range update of pelias-config is breaking the build 🚨 HOT 1
- importVenues option do not work HOT 6
- An in-range update of pelias-wof-admin-lookup is breaking the build 🚨 HOT 3
- An in-range update of pelias-wof-admin-lookup is breaking the build 🚨 HOT 2
- Remove broadcast antennas and other TV towers? HOT 2
- New venue_tags + additional names HOT 3
- "PeliasModelError: invalid regex test" during OSM extract import HOT 2
- Allow configuring whether disused/abandoned venues are removed HOT 1
- unable to locate sqlite folder HOT 2
- Support elasticsearch username / password HOT 5
- NPM install failing with Error: Missing required argument #1 HOT 2
- OSM records with 'constructor' tag result in invalid Pelias documents HOT 2
- Consider importing Brand alt names
- "Invalid regex" error about source=https://... tag HOT 2
- Category does not get mapped as defined in category_map.js HOT 9
- issue while executing npm start cmd HOT 1
- I run npm start in the import folder but it doesn't recognize my pelias.json file HOT 1
- Add Pelias OpenStreetMap data importer to Taginfo Projects HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openstreetmap.