Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

FishEye, only index current version

I'm evaluating FishEye to be used in my company. Our only need is to index a very large Subversion repository with c# and c++ code to gain fast searching.

I have set up a single project (1 out of 100) and i takes ages to index the files (scanning 1.500 commits on that single project)

I have read the FAQ https://confluence.atlassian.com/display/FISHEYE/Improve+FishEye+scan+performance

Can I set it up to only request and index the current version in SVN?

We don't need searching comments, diffs, JIRA integration or anything else, we just want to search the code as it is now in the trunk.

 

7 answers

1 accepted

0 votes
Answer accepted

Hi Stig,

Thanks for clarifying this. Could you please check if setting a Start Revision as in https://confluence.atlassian.com/display/FISHEYE/Subversion helps? With this set you can have the indexing starting from a more recent revision.

Regards,

Gustavo Refosco

Stig,

I'm also glad I was able to help. Please allow me to ask you to mark my answers you consider to be good as accepted in order to have them in the top of the thread, also helping other customers in the future.

Thanks in advance.

Gustavo Refosco

Hi Stig,

Setting Include/Exclude Paths will take effect at the moment you restart your repository. You have the option to only restart the repository without re-indexing it, so files and directories which have been indexed prior to the update will remain visible in FishEye, and it will just not index further updates on these paths. By re-indexing the repository then everything defined as an "exclude" won't show up.

As per the file types, indeed you can't set them as an Include as includes do not accept antglobs or wildcards. I'd suggest you to add excludes for the file types you have in your repository that you do not with to be indexed.

For reference and further understanding on how to use Include/Exclude Paths, please take a look at https://confluence.atlassian.com/display/FISHEYE/Include+Exclude+paths.

Regards,

Gustavo Refosco

We do not know what is in SVN so it would be cumbersome to exclude all other files and maintain that list in the future

Hi Stig, I understand you would like this as a feature. I research in our development issue tracker and found a request for this you can see at https://jira.atlassian.com/browse/FE-4212 I'm sorry to inform it is marked as Won't Fix. You can find further details explaining the reason in the comment contained in the URL above. Regards, Gustavo Refosco

And how do I exclude everything but .cs, .cpp, .h files?

"Includes" seems to only work with Path Prefix.

 

 

Thanks, that seems to work. 

If i change "Include/Exclude Paths" would it reindex everything and remove what I excluded?

 

Hi. I have already excluded branches, tags and releases. 

The time is used when requesting the 1.500 commits on the single project. I don't care about the history but only the current trunk.

 

Hi Stig,

If I understood correctly, your interest would be to index only the trunk (not indexing branches and tags). This could be done by setting the Path option as indicated in https://confluence.atlassian.com/display/FISHEYE/Subversion, so only the contents under it would be indexed. For instance if your repository root URL is http://localhost/svn/repo1 and under it you have directories named trunk, branches and tags, you would setup this repository as:

URL: http://localhost/svn/repo1

Path: trunk

Please attend to apply any further configuration if necessary, e.g. if your repository structure doesn't follow the SVN convention as per in the Subversion Red Book please follow the instructions at https://confluence.atlassian.com/display/FISHEYE/SVN+tag+and+branch+structure.

Regards,

Gustavo Refosco

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Admins, notify your Jira instance of system-wide changes with the new admin announcement banner

Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their  Jira Cloud instance.  ...

551 views 15 18
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you