Indexing capability (search word not found)

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

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
Community showcase
Published Monday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

494 views 0 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you