I'm evaluating FishEye and tried some random searches on our codebase.
a .cpp file is indexed with the following content (i can search the file by its name)
Groupings->AddObject("Issuer",(TObject*)10);
Groupings->AddObject("IssuerType",(TObject*)34);
Groupings->AddObject("Country",(TObject*)11);
Groupings->AddObject("MSCI Sector",(TObject*)12);
Groupings->AddObject("MSCI Industry Group",(TObject*)13);
Groupings->AddObject("MSCI Industry",(TObject*)14);
Groupings->AddObject("MSCI Sub Industry",(TObject*)15);
When I search for "Issuer" or Issuer (without quotes) FishEye does not find the file.
Is this expected?
No this is not expected. Both searches should work and find the file. Please be aware though that FishEye indexes content of the HEAD/tip revisions only, so if the file lives only on the branch it won't be found. See https://confluence.atlassian.com/display/FISHEYE/Searching+FishEye#SearchingFishEye-Specifycriteriausingthesearchinterface
But you may use the Diffs search. That would search all individual diffs across the repository and will find all the occurrences where such text was added or removed. Just ensure your repository has the "Store Diff Info" option enabled, if if doesn't you may want to enable it. This would require reindexing repository though.
Hope that helps,
Piotr
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.