X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fsolr.c;h=475f615b87e0806f0c4e324ac297968d15c43ea5;hp=de46b5fbfb91858d2e6eb54766c1de55d3999f68;hb=6c674d1fb42e36b8fd7afe9da2a1f914b23063ad;hpb=79aa9b03d9997228c511a685ad46e0f543427bea diff --git a/src/solr.c b/src/solr.c index de46b5f..475f615 100644 --- a/src/solr.c +++ b/src/solr.c @@ -90,8 +90,6 @@ static void yaz_solr_decode_result_docs(ODR o, xmlNodePtr ptr, record->recordData_buf = odr_malloc(o, buf->use + 1); memcpy(record->recordData_buf, buf->content, buf->use); record->recordData_buf[buf->use] = '\0'; - // TODO Solve the real problem in zoom-sru, that doesnt work with 0-based indexes. - // Work-around: Making the recordPosition 1-based. record->recordPosition = odr_intdup(o, start + offset + 1); xmlBufferFree(buf);