Revision: 15946
          http://gate.svn.sourceforge.net/gate/?rev=15946&view=rev
Author:   valyt
Date:     2012-07-16 16:24:14 +0000 (Mon, 16 Jul 2012)
Log Message:
-----------
Use termIds for sizes also (not just for contents).

Modified Paths:
--------------
    mimir/trunk/mimir-core/src/gate/mimir/search/query/AnnotationQuery.java

Modified: 
mimir/trunk/mimir-core/src/gate/mimir/search/query/AnnotationQuery.java
===================================================================
--- mimir/trunk/mimir-core/src/gate/mimir/search/query/AnnotationQuery.java     
2012-07-16 16:23:48 UTC (rev 15945)
+++ mimir/trunk/mimir-core/src/gate/mimir/search/query/AnnotationQuery.java     
2012-07-16 16:24:14 UTC (rev 15946)
@@ -82,7 +82,7 @@
           SemanticAnnotationHelper.Mode.DOCUMENT);
       // get the mention URIs
       TermsResultSet trs = new AnnotationTermsQuery(query).execute(engine);
-      if(trs.termStrings != null && trs.termStrings.length > 0 && 
+      if(trs.termIds != null && trs.termIds.length > 0 && 
          trs.termLengths != null) {
         QueryNode[] disjuncts = new QueryNode[trs.termStrings.length];
         for(int index = 0; index < trs.termStrings.length; index++) {

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to