From: SourceForge.net <no...@so...> - 2005-05-17 23:14:04
|
Bugs item #1203250, was opened at 2005-05-17 03:20 Message generated for change (Comment added) made by broeker You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104664&aid=1203250&group_id=4664 Category: inverted index handling Group: None Status: Open Resolution: None Priority: 5 Submitted By: Darlene Wong (darlenew) Assigned to: Nobody/Anonymous (nobody) Summary: Find files #including "../foo.h" in -q mode Initial Comment: "Find files #including this file", in -q mode, will find inclusions of "foo.h", but not "../foo.h". Is this a known issue? This refers to version 15.5, running on Solaris 6. ---------------------------------------------------------------------- >Comment By: Hans-Bernhard Broeker (broeker) Date: 2005-05-18 01:14 Message: Logged In: YES user_id=27517 Darlene, you didn't actually say: it was not found when running _what_ search pattern? I'm not 100% convinced that the bug in this case is in the -q mode. Yes, there's a difference in behaviour between the inverted index and the normal access method. But I'm not aware of *either* of the two different behaviour being documented. I.e. the bug may just as well be said to be in the documentation, or in the behaviour of non-q mode. -q mode has to search for an exact match, or it'd lose essentially all its applicability. Running an inverted index search with a pattern that starts with an (implied) ".*' regex, means the search has to go through *all* postings. ---------------------------------------------------------------------- Comment By: Neil Horman (nhorman) Date: 2005-05-17 16:50 Message: Logged In: YES user_id=827328 I've got a straw man patch listed in request 1203632 on the patches page which fixes this problem for me. ---------------------------------------------------------------------- Comment By: Neil Horman (nhorman) Date: 2005-05-17 12:47 Message: Logged In: YES user_id=827328 I hadn't heard of this previously, but I just confirmed it. I'll see if I can fix it. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104664&aid=1203250&group_id=4664 |