Indexing capability (search word not found)

Stig Christensen January 6, 2015

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?

1 answer

0 votes
Piotr Swiecicki
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 8, 2015

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 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events