Revision: 17232
          http://sourceforge.net/p/gate/code/17232
Author:   valyt
Date:     2014-01-16 16:52:48 +0000 (Thu, 16 Jan 2014)
Log Message:
-----------
Removed silly printouts used to find the error. Turns out there was nothing 
wrong with the indexer, it was the scratch code using that was wrong.

Modified Paths:
--------------
    
mimir/branches/5.0/mimir-core/src/gate/mimir/index/AtomicAnnotationIndex.java
    mimir/branches/5.0/mimir-core/src/gate/mimir/index/AtomicIndex.java

Modified: 
mimir/branches/5.0/mimir-core/src/gate/mimir/index/AtomicAnnotationIndex.java
===================================================================
--- 
mimir/branches/5.0/mimir-core/src/gate/mimir/index/AtomicAnnotationIndex.java   
    2014-01-16 16:02:36 UTC (rev 17231)
+++ 
mimir/branches/5.0/mimir-core/src/gate/mimir/index/AtomicAnnotationIndex.java   
    2014-01-16 16:52:48 UTC (rev 17232)
@@ -127,7 +127,7 @@
       }
       semanticAnnots = semAnns.toArray(new Annotation[semAnns.size()]);
       Arrays.sort(semanticAnnots, offsetComparator);
-    }else{
+    } else {
       semanticAnnots  = new Annotation[0];
     }
     return semanticAnnots;

Modified: mimir/branches/5.0/mimir-core/src/gate/mimir/index/AtomicIndex.java
===================================================================
--- mimir/branches/5.0/mimir-core/src/gate/mimir/index/AtomicIndex.java 
2014-01-16 16:02:36 UTC (rev 17231)
+++ mimir/branches/5.0/mimir-core/src/gate/mimir/index/AtomicIndex.java 
2014-01-16 16:52:48 UTC (rev 17232)
@@ -841,9 +841,6 @@
       PostingsList postingsList = termMap.get( termArray[ i ] );
       if ( maxCount < postingsList.maxCount ) maxCount = postingsList.maxCount;
       postingsList.write(indexWriter);
-if(termArray[i].equals("electrical")) {
-  logger.warn("Posting list of 'electrical': "+ postingsList.toString());
-}
     }
     indexWriter.close();
     // write the index properties

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


------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to