sajari/sdk-php

Should there be an encodeMeta function?

benjy opened this issue · 3 comments

benjy commented

What is the recommend way of putting the meta data into the query if there is no encodeMeta that can be passed into $data['meta']?

Should $data['meta'] simply be a string from http_build_query()

@benjy does the usage as in https://github.com/sajari/sajari-sdk-php/blob/master/examples/1/add.php#L18 not work for your case? If not, could you please provide a bit more info/code of what call you're making.

benjy commented

@jonathaningram i'll try that, is it the same for search?

@benjy yep should be the same for search. Let me know if this is not the case!