I have some problems with 3.1.5 that htsearch reports hits
but that the document ref is not found. What does it mean?
Does it mean I have a broken database?
Snippet of code attached. The debug > 2 is my own code
to get the print out.
while ((match = (ResultMatch *)matches->Get_Next()) &&
numberDisplayed < number)
{
if (currentMatch >= startAt)
{
match->setRef(docDB[match->getURL()]);
DocumentRef *ref = match->getRef();
if (!ref) {
if (debug > 2) {
printf("Document ref not found!\n");
}
continue; // The document isn't present for some reason
}
ref->DocAnchor(match->getAnchor());
ref->DocScore(match->getScore());
displayMatch(match,currentMatch+1);
numberDisplayed++;
match->setRef(NULL);
delete ref;
}
currentMatch++;
}
--jesse
--------------------------------------------------------------------
J. op den Brouw Johanna Westerdijkplein 75
Haagse Hogeschool 2521 EN DEN HAAG
Faculty of Engeneering Netherlands
Electrical Engeneering +31 70 4458936
-------------------- [EMAIL PROTECTED] --------------------
Linux - because reboots are for hardware changes
_______________________________________________
htdig-dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/htdig-dev