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

NoteStoreClient.findNotes() does not find notes #28

Open
windsource opened this issue Nov 1, 2019 · 1 comment
Open

NoteStoreClient.findNotes() does not find notes #28

windsource opened this issue Nov 1, 2019 · 1 comment

Comments

@windsource
Copy link

I am using the Evernote Java SDK with the sandbox account to create a note and search for it.

Note mynote = new Note();
mynote.setTitle("mytitle");
mynote.setContent(content);
Note createdNote = noteStore.createNote(mynote);

NoteFilter filter = new NoteFilter();
String query = "mytitle";
filter.setWords(query);

NoteList notelist = noteStore.findNotes(filter, 0, 10);

The creation of the note works fine but unfortunately findNotes() just returns an empty list. The same code worked some months ago but now it doesn't anymore.

@ionull
Copy link

ionull commented Jun 5, 2020

The same issue here, whether on Sandbox or Production mode.
Well, it seems that Evernote takes some time to build search index on server. You'd better don't rely on it.

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