L.S.


There seems to be a bug in the PHPS outputHandler when retrieving a
query that also produces spellcheck results.

The following query fails to return an unserializable string:
spellcheck=true&facet=true&indent=on&facet.mincount=1&spellcheck.extendedResults=true&
spellcheck.q=groninen&spellcheck.collate=true&wt=phps&rows=8&start=0&
q=generic_search:groninen&spellcheck.dictionary=jarowinkler&
facet.field=city&facet.field=kitchen&facet.field=budget

The problem is clearly visible at the end of the returned string:
rectlySpelled";falses:9:"collation";s:9:"groningen";}}}

The query works fine when extendedResults=false, otherwise this problem
occurs.

Using the PHP outputHandler instead also produces a result which i
cannot pass through eval. It complains about the last line of the result
which omits the semi colon.

 'word'=>'groningen')),
        'correctlySpelled'=>false,
        'collation'=>'groningen')))

It would also need a return statement to begin with in order to produce
any results with eval. For a - simple - query to work properly you would
need : 
$data = file_get_contents(query);
var_dump(eval("return $data;"));



Any hints on some workarounds?



Regards,

Reply via email to