Zachary Tong
Zachary Tong
Hey, sorry for the slow reply. Been travelling a lot for work. 1) Unfortunately, there isn't a way to define an entire mapping with an array right now. You can...
Yeah, parent/child isn't very well supported by Sherlock right now. I think you can fake it by doing this: ``` php $doc = $sherlock->document()->index('shares') ->type('comment') ->document(array("text" => "test comment"), "1?parent=2");...
Hm, the parent field is definitely necessary for child deletions. Without the parent field, the ID is used as the hash and the delete request could be sent to the...
Ah, I see. That may be the best solution for the time being, I deliberately left parent/child support in a spotty condition because I wanted to fill out the core...
Quick update on this: ES devs say that while Null may work, it is probably not the best solution. There are a few locations (notably "upsert" in the Update operations)...
Interesting, this is indeed bad behavior. Sherlock should definitely throw exceptions on json errors, rather than allowing execution to continue. I'll look into it later this week when I get...