Hi David,

Please use Field#data from now on. data is actually an attribute of
Field in the pure Ruby version so I'm not sure why it wasn't working
for you. ie, you shouldn't need to do any reflection to access
Field#data. Eventually I'll probably remove the string_value and
binary_value methods but they'll stay for the moment. Sorry for the
confusion.

Cheers,
Dave

On 4/22/06, David Harrison <[EMAIL PROTECTED]> wrote:
> After a bit of experimenting and reflection I have found that when using
> the C indexer the function Field.data returns the value of the indexed
> field.
> Unfortunately using the pure Ruby indexer Field.data is not a function
> (its equivalent is Field.string_value).
>
> This is not too much of an issue though as I can do some presentation
> level reflection to call the correct function.
>
> There's probably a better workaround than this but at least things are
> now working nice and quickly with the C indexer and fastcgi.
>
> Regards,
>
>
> David
>
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Ferret-talk mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/ferret-talk
>

_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to