Revision: 14748
http://gate.svn.sourceforge.net/gate/?rev=14748&view=rev
Author: valyt
Date: 2011-12-12 15:59:51 +0000 (Mon, 12 Dec 2011)
Log Message:
-----------
Bugfix: the ubiquitous ?\194?\1771 problem.
Modified Paths:
--------------
mimir/trunk/mimir-core/src/gate/mimir/search/RankingQueryRunnerImpl.java
Modified:
mimir/trunk/mimir-core/src/gate/mimir/search/RankingQueryRunnerImpl.java
===================================================================
--- mimir/trunk/mimir-core/src/gate/mimir/search/RankingQueryRunnerImpl.java
2011-12-12 15:56:32 UTC (rev 14747)
+++ mimir/trunk/mimir-core/src/gate/mimir/search/RankingQueryRunnerImpl.java
2011-12-12 15:59:51 UTC (rev 14748)
@@ -500,7 +500,7 @@
documentsOrder.add(rank, i);
// if we have too many documents, drop the lowest scoring one
if(documentsOrder.size() > rankRangeEnd + 1) {
- documentsOrder.removeInt(documentsOrder.size());
+ documentsOrder.removeInt(documentsOrder.size() - 1);
}
}
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Learn Windows Azure Live! Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for
developers. It will provide a great way to learn Windows Azure and what it
provides. You can attend the event by watching it streamed LIVE online.
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs