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

Using cursors #1

Open
mebibou opened this issue Nov 15, 2010 · 1 comment
Open

Using cursors #1

mebibou opened this issue Nov 15, 2010 · 1 comment

Comments

@mebibou
Copy link

mebibou commented Nov 15, 2010

Hi,
I just tried to use your library to use cursors on the freebase database, as I didn't manage to do this without a library, or having to rewrite everything.
But I couldn't find a way to do it without modifying the original classes, so how should it be implemented directly?
Also, even after modifying the code, I am encountering a connection reset at some point, when trying to retrieve quite a lot of information using a cursor. Have you ever had this problem before?

Thanks for your help, and thanks for this library!

@hangy
Copy link

hangy commented Feb 20, 2011

Have a look at hangy/freebase-java-api@6998702 and see if it helps with the cursor problem.

You may have connection resets if the query you try to perform is (too) hungry on resources. That would be entirely server-side, though, so that the Freebase Java API cannot do anything about that. If that is the real problem, you may have to optimize your queries - or just request fewer items per page (limit clause). :)

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

No branches or pull requests

2 participants