Apace_Solr_Document is iterable just like an associative array, which i imagine is what you're looking to do.
<code>
// this works, and is the typical use case
foreach ($document as $key => $value) {...}
</code>
The key and field methods are just analogies to array_keys and array_values since they're not covered by the IteratorAggregate interface. You could also work directly with the iterator if you so desire.
- Donovan
> --
> You received this message because you are subscribed to the Google Groups "PHP Solr Client" group.
> To post to this group, send email to
php-sol...@googlegroups.com.
> To unsubscribe from this group, send email to
php-solr-clie...@googlegroups.com.
> For more options, visit this group at
http://groups.google.com/group/php-solr-client?hl=en.
>
>