summaryrefslogtreecommitdiffstats
path: root/src/com/gitblit/GitBlit.java
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2012-03-15 19:46:32 -0400
committerJames Moger <james.moger@gitblit.com>2012-03-15 19:46:32 -0400
commit905d31391cb6a808605d9f5b58a8d30274c01e1a (patch)
tree16bf27ae1a60296ee0c2111e5b6b6abf12155c29 /src/com/gitblit/GitBlit.java
parentd896e62505a429ee27237b3302d7c04e7ff8e6df (diff)
downloadgitblit-905d31391cb6a808605d9f5b58a8d30274c01e1a.tar.gz
gitblit-905d31391cb6a808605d9f5b58a8d30274c01e1a.zip
Use reflection to determine source repository index
Unfortunately Lucene's MultiReader class does not expose a public method for determining which index reader a document comes from. There is a private method which determines this information. My new approach is to use reflection to call this private method and determine the actual source index at runtime instead of storing the repository name in the index. This gets me out of the "rename repository" problem at the expense of a little runtime performance.
Diffstat (limited to 'src/com/gitblit/GitBlit.java')
0 files changed, 0 insertions, 0 deletions