How to use Windows Indexing Service on Win7 for source code searching?
I have create a indexing catalog for my source code on Win7 but I can't find a tool to perform the searching.开发者_运维百科. Any pointer? Thanks in advance.
If the Win7 indexing uses the old Indexing service then perhaps it's similar to how it is in XP.
There you can access the search functionality via Computer Management, %SystemRoot%\system32\compmgmt.msc /s
.
Drill down to Services and Applications -> Indexing Services -> Query the Catalog.
I once made a C# GUI for that. Still have it, called "Find Files Fast". Immediately after, while it was still only in rough infancy, both Google and Microsoft made available indexing-based fast local search tools.
So, another way might be to just download such tool from Microsoft or Google (Google's used Google's own indexing, as I recall, and had/has some privacy issues).
One problem with Microsoft's indexing service is that by default it's configured, at least on XP, to not support queries for ".h" files... Utterly silly, I can't think of any reason why. But it makes it less than ideal to use to search for source code.
Cheers & hth.,
精彩评论