Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hello, I Am Trying To Use The Sdk Function

Hello, I am trying to use the SDK function dataset.sync_folder , but it doesn't look like it works. I see Add image.jpg being printed for all my data items, and it properly logs "Synced folder myfolder: 0 files removes, 30 files added / modified", but on the web UI the dataset is showing that the dataset is in status "Running / in_progress" and is 0 bytes. Also, what would be the properway to pass a "output_uri" to this function ?

  
  
Posted 4 months ago
Votes Newest

Answers 3


Hi @<1644147961996775424:profile|HurtStarfish47>

. I see

Add image.jpg

being printed for all my data items ...

I assume you forgot to call upload ? the sync "marks" files for uploaded / deletion but the upload call actually does the work,
Kind of like git add / push , if that makes sense ?

  
  
Posted 4 months ago

Oh, wow for some reason I thought I read somewhere in the documentation that the sync was taking care of upload and finalize. Or maybe that was for the CLI ? Anyway that's what I was missing, thank you !

  
  
Posted 4 months ago

(probably sync from CLI 🙂 )

  
  
Posted 4 months ago
250 Views
3 Answers
4 months ago
4 months ago
Tags