Closed
Bug 428136
Opened 16 years ago
Closed 16 years ago
MXR text search broken
Categories
(Webtools Graveyard :: MXR, defect)
Webtools Graveyard
MXR
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: sicking, Assigned: justdave)
References
Details
Text search seems to be generally broken and returns far too few results: Here are a couple of querys that should return many more results than it does: http://mxr.mozilla.org/mozilla/search?string=SetAttr(kNameSpace&find=&tree=mozilla This gives "Found 15 matching lines in 5 files" But misses out the call in for example nsSliderFrame.cpp Another example is http://mxr.mozilla.org/mozilla/search?string=SetAttr&find=layout&tree=mozilla Which isn't searching all files in layout. If you click the "Searching these files" link it does show all the layout files though.
Updated•16 years ago
|
Severity: normal → blocker
OS: Windows XP → All
Hardware: PC → All
Assignee | ||
Comment 1•16 years ago
|
||
This is probably because of bug 428104. Cron jobs got aborted midway through to recover the machine and there's probably partially-generated indexes sitting around. I'll re-run the mozilla tree manually right now.
Assignee: bear → justdave
Assignee | ||
Comment 3•16 years ago
|
||
OK, the rebuild of the mozilla indexes has finished. (In reply to comment #0) > http://mxr.mozilla.org/mozilla/search?string=SetAttr(kNameSpace&find=&tree=mozilla > > This gives "Found 15 matching lines in 5 files" > But misses out the call in for example nsSliderFrame.cpp Found 211 matching lines in 61 files > Another example is > http://mxr.mozilla.org/mozilla/search?string=SetAttr&find=layout&tree=mozilla > Which isn't searching all files in layout. If you click the "Searching these > files" link it does show all the layout files though. Found 475 matching lines in 232 files Looks like that one's fixed. Rebuild of seamonkey (the one mentioned on the bug that got duped to this) is in progress now.
Assignee | ||
Comment 4•16 years ago
|
||
(In reply to bug 428142 comment #0) > e.g. these searches should return many hits, but they return none: > http://mxr.mozilla.org/seamonkey/search?string=nscoord&find=%2Flayout%2Fbase&findi=&filter=.*cpp&hitlimit=&tree=seamonkey Found 219 matching lines in 9 files > http://mxr.mozilla.org/seamonkey/search?string=nscoord&find=&findi=&filter=&hitlimit=&tree=seamonkey Too many hits, displaying the first 1000 > And this search for 'layout' in the full tree returns no matches from the > layout directory -- only toolkit, tools, xpcom, and profile. > > http://mxr.mozilla.org/seamonkey/search?string=layout&find=&findi=&filter=&hitlimit=&tree=seamonkey Still don't see any in the layout directory, but this one also returned over 1000 hits, and it's quite possible they weren't in the first 1000. There were many other things besides those 4 directory listed however. Think this one's fixed for now. :)
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
http://mxr.mozilla.org/seamonkey/search?string=layout&find=mozilla%2Flayout%2F&findi=&filter=&hitlimit=&tree=seamonkey returns over 1000 hits, but you can see they're all from the layout directory. yes, this exposes an implementation detail which is arguably a problem, but oh well.
Updated•4 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•