Re: namazu returns references, but no matching documents
Earl Hood <[email protected]> Wed, 26 Nov 2003 13:07:29 -0600
| Newsgroups | gmane.comp.search.namazu.user |
|---|---|
| Message-ID | <[email protected]> |
On November 26, 2003 at 18:53, [email protected] wrote: > > According to gdb, it's in the following line that the reason why > > namazu couldn't work appropriately: > > > > val = nmz_do_searching(token, val); > > > > (nmz/parser.c: factor()) > > > > val is an structure (NmzResult). In nmz_do_searching() function, the > > value of val seems handled appropriately, but the return value was not > > effected, therefore val.num is still 0 after the line. > > I maed a patch for the issue. But 2 tests were still failed. Is there a concern that namazu code be reentrant? If so, it appears that your patch will break this. I do find it interesting that the namazu code passes structures around by copy a lot. Is there a reason for this? --ewh