[FishEye Knowledge Base]
FishEye maintains several indexes which are used to provide fast searching of files in the repository. One of these indexes is used for searching file content. For Subversion repositories only, FishEye places a number of restrictions on this index to keep it manageable and to maintain its usefulness in searching.
The limits applied to the content index do not affect the indexing of files in the other indexes maintained by FishEye, notably the metadata index which indexes the file against the commit metadata (comment, author, date, etc). All other FishEye operations are thus unaffected by the application of the content indexing limit.
The default file size limit is 5MB and, in FishEye 2.6, this limit was made configurable in the admin user interface. Changing this limit only affects indexing operations. Files which have already been indexed are not affected - i.e. they are not removed from the content index. Only files which are indexed after the change are affected by the changed limit. A re-index is necessary to apply the new limit to all files in the repository.
When a file is not indexed, FishEye will log a warning message on the console:
In FishEye 2.7, for Subversion repositories, the file size limit is also applied to the UI treatment of text files. Any files which exceed the file size limit have the following additional restrictions:
Such files are now marked internally as "too large" within FishEye, and rendered similarly to binary files. A link is available to download the file content and in Crucible file-level review comments can be made.
As above, changing the file size limit does not affect files which have already been indexed. Such files will continue to be treated according to the setting in effect when the file was originally indexed. A re-index is necessary to apply a new limit to files which have already been indexed. This can mean that a large file appears to abruptly acquire the "too large" designation when a new revision is added after upgrading FishEye, or after the file size limit has been changed.
The application of this limit allows FishEye to avoid certain Subversion operations which are resource intensive (typically I/O, memory or time and often all three). Such large text files are typically not practical to view in FishEye and review within Crucible in any case.
FishEye applied the original 5MB limit as a reasonable compromise for what would typically be the largest text files in a repository. Increasing this value will allow you to index and see the content for larger text files at the cost of increased resource usage.