Hi there, On Mon, 2009-01-12 at 21:42 +0100, Hans Petter Jansson wrote:
It would be nice to index HACKING, README, possibly documentation still.
I guess; makes it more complicated but ... ;-) I'm fairly convinced beagle is not a tool for hackers to grok their source trees with. People use 'git grep' for this, or they use a sane semantically informed search - ctags or whatever. The sheer cost of diving down all those directories is staggering.
While I don't think it's a bad idea to short-circuit source code toplevels, I'm worried that a) it won't be enough
No doubt - but it will at least help a lot for this use case :-) and hopefully stop hackers griping about it.
b) I'm not convinced that people don't search source code for mentions of <foo>. I don't, but then, I don't use Beagle at all.
Oh - sure they do, but the vast cost of indexing (eg.) all of the OO.o source code, on the off-chance that someone wants to search for something is too staggeringly large IMHO - there is a far higher risk that people just turn beagle off - and thus get nothing indexed.
Another, more sophisticated strategy might be to build a list of things to index and prioritize them, so that source directories come last and are indexed at a fairly leisurely pace. It's definitely more work, though.
Yep - that might work too - though; really - I'm fairly certain that source code directories are highly dynamic, take a lot of maintenance, contain -tons- of stuff which (no doubt) balloons the index size, and are not interesting in search results :-) HTH, Michael. -- michael.meeks@novell.com <><, Pseudo Engineer, itinerant idiot -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org