evernote-sdk-csharp icon indicating copy to clipboard operation
evernote-sdk-csharp copied to clipboard

filter.Words not working while calling noteStore.findNotesMetadata() in c#

Open ItsDummy opened this issue 6 years ago • 3 comments

NoteFilter filter = new NoteFilter(); filter.Words = "dummy"; NotesMetadataResultSpec spec = new NotesMetadataResultSpec(); spec.IncludeTitle = true; NotesMetadataList notesList = noteStore.findNotesMetadata(api.AccessToken, filter, 0, pageSize, spec);

But not working its giving notesList count = 0 .

If I comment below code line //filter.Words = "dummy"; its giving all notes in notesList.

Please do needful.

For development I'm using https://sandbox.evernote.com/

I'm using source code from below repository

https://github.com/evernote/evernote-sdk-csharp/tree/master/src https://github.com/apache/thrift

ItsDummy avatar Jun 07 '19 05:06 ItsDummy

  1. What happens if you search by "dummy" (with quotes) in Evernote Web on your sandbox account?
  2. What happens if you search by dummy (without quotes) in Evernote Web on your sandbox account?
  3. What happens if you do filter.Words = "dummy*" (i.e. add the asterisk at the end of the word to search by the word prefix, and not by an exact word match?

iafan avatar Jun 07 '19 05:06 iafan

I have created note "dummy" on sandbox.evernote.com image

Tried to search using dummy (without quotes) yield no result image

Tried to search using "dummy" (with quotes) yield no result image

ItsDummy avatar Jun 07 '19 07:06 ItsDummy

If I try to search with any other search keyword instead of dummy then also it is not searching anything. For me searching is not working sandbox.evernote.com web client

ItsDummy avatar Jun 07 '19 07:06 ItsDummy