I'm probably doing something wrong, but I do not know where to go from here? Can anyone point me in the right direction.
I will try to explain what I get.
I'm using dezi-dient-php
I get this kind of error:
{"build_time":"0.92304","success":0,"msg":"
Failed to POST doc","code":"500"}
This is the exception message I get form $client->index ($doc)
When I post a Dezi_Doc with dezi-client-php I rawurlencode the ['uri'] part of the Dezi_Doc.
For almost all my files this works fine. But for some files with 'french' tokens like in: "Appréciation" this will result in this kind of error.
I think (I'm not sure) that I get the error message from the Search-OpenSearch-Engine-Lucy-0.18/lib/Search/OpenSearch/Engine/Lucy.pm module
in sub POST
my $exists = $self->GET( $doc->url );
if ( $exists->{code} != 200 ) {
return { code => 500, msg => 'Failed to POST doc' };
}
I do not understand what could be wrong with the $doc->url
Is this a known issue?
Does anybody know what kind of encoding I should use for french tokens in the url part?
Thanks,
Paul