Smuggler with multiple filters

174 views
Skip to first unread message

Vlad Kosarev

unread,
May 21, 2013, 11:36:03 AM5/21/13
to rav...@googlegroups.com
It can't be this hard but I've just spent way too much time trying to do something this simple -

smuggler out http://raven:9090/databases/db dump.raven --metadata-filter=Raven-Entity-Name=Properties,Raven-Entity-Name=Links

How do I do this (provide multiple filter criteria)? 

Kijana Woodard

unread,
May 21, 2013, 12:08:26 PM5/21/13
to rav...@googlegroups.com
Total guess. Did you try

smuggler out http://raven:9090/databases/db dump.raven --metadata-filter=Raven-Entity-Name=Properties,Links


--
You received this message because you are subscribed to the Google Groups "ravendb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Vlad Kosarev

unread,
May 21, 2013, 12:12:50 PM5/21/13
to rav...@googlegroups.com
That and about a hundred other different ways I could think of...

Oren Eini (Ayende Rahien)

unread,
May 21, 2013, 12:15:21 PM5/21/13
to ravendb
It should be:

smuggler out http://raven:9090/databases/db dump.raven --metadata-filter=Raven-Entity-Name=Properties --metadata-filter=Raven-Entity-Name=Links


--

Vlad Kosarev

unread,
May 21, 2013, 12:24:03 PM5/21/13
to rav...@googlegroups.com
Tried that, that returns 0 results.

Vlad Kosarev

unread,
May 21, 2013, 2:12:00 PM5/21/13
to rav...@googlegroups.com
Tried 2330 and 2360 downloads and it didn't work on either.
Compiled it from source and it worked!
Not sure what the issue is with bundled versions.

Vlad Kosarev

unread,
May 21, 2013, 2:19:36 PM5/21/13
to rav...@googlegroups.com
There's another bug of some sort. Specifying 2 filters worked, 4 filters, only 4th got applied. Don't have time to figure it out right now so I'll just do them one by one and concatenate.

Vlad Kosarev

unread,
May 22, 2013, 3:10:48 PM5/22/13
to rav...@googlegroups.com
Tried using 2.5 branch smuggler for transform scipt. If I include any Raven-Entity-Name filter all I get is infinite "Got no results but didn't get to the last doc etag, trying from:"...
Selective Import/Export should not be this complicated.

Vlad Kosarev

unread,
May 22, 2013, 3:55:22 PM5/22/13
to rav...@googlegroups.com
Doing filtering within transform.js totally works, hallelujah!
Reply all
Reply to author
Forward
0 new messages