Your suspection is roughly right, but not for field name. According to
nmz/field.c, nmz_get_field_data is defined like the following:
void
nmz_get_field_data(int idxid, int docid, const char *field, char *data)
So you can use constant string as field argument. I maintain
Search::Namazu perl module and it also uses constant string.
You can see it via ViewCVS:
http://cvs.namazu.org/Search-Namazu/Namazu.xs?rev=1.18&content-type=text/vnd.viewcvs-markup
Sorry for lack of documents about the library. I need more description
about it but I have my hands full...