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 Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

936 views 3 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