Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for queries defined by Menno and Niene #53

Open
bertspaan opened this issue Aug 5, 2015 · 2 comments
Open

Add support for queries defined by Menno and Niene #53

bertspaan opened this issue Aug 5, 2015 · 2 comments

Comments

@bertspaan
Copy link
Member

See https://github.com/erfgoed-en-locatie/historische-geocoder/blob/7a204712c86c118b8c544a790e3e765427843003/docs/voorbeeldqueries.md

@jobspierings
Copy link
Member

@bertspaan says:

Queries like "return all streets in this town", or "all municipalities in 1940 in province of Drenthe" are possible, but API will not always return all valid results; sometimes API will returns only a subset. This is because Neo4j and Elasticsearch work together in finding the results, and have to communicate through LIMIT-ed queries. Solution: materialize, for each PIT, all paths to "world PIT" (or something similar) into Elasticsearch, and only use ES for searching.

@hpfast
Copy link

hpfast commented Oct 19, 2015

+1 !!

On Mon, Oct 19, 2015 at 10:17 AM, Job [email protected] wrote:

@bertspaan https://github.com/bertspaan says:

Queries like "return all streets in this town", or "all
municipalities in 1940 in province of Drenthe" are possible, but API will
not always return all valid results; sometimes API will returns only
a subset. This is because Neo4j and Elasticsearch work together in finding
the results, and have to communicate through LIMIT-ed queries. Solution:
materialize, for each PIT, all paths to "world PIT" (or something similar)
into Elasticsearch, and only use ES for searching.


Reply to this email directly or view it on GitHub
#53 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants