- zint g = 0; /* rset->rset_terms[i]->nn; */ /* FIXME ??? */
-#if DEBUG_RANK
- yaz_log(LOG_LOG, "i=%d flags=%s", i, rset->rset_terms[i]->flags);
-#endif
- if (0) /* (!strncmp (rset->rset_terms[i]->flags, "rank,", 5)) */
- /* FIXME */ /* ??? */
+ zint g = rset_count(terms[i]->rset);
+ yaz_log(log_level, "i=%d flags=%s '%s'", i,
+ terms[i]->flags, terms[i]->name );
+ if (!strncmp (terms[i]->flags, "rank,", 5))