Revision: 16351
http://gate.svn.sourceforge.net/gate/?rev=16351&view=rev
Author: valyt
Date: 2012-11-28 16:56:32 +0000 (Wed, 28 Nov 2012)
Log Message:
-----------
Scratch code.
Modified Paths:
--------------
mimir/trunk/mimir-test/src/gate/mimir/test/Scratch.java
Modified: mimir/trunk/mimir-test/src/gate/mimir/test/Scratch.java
===================================================================
--- mimir/trunk/mimir-test/src/gate/mimir/test/Scratch.java 2012-11-28
16:56:17 UTC (rev 16350)
+++ mimir/trunk/mimir-test/src/gate/mimir/test/Scratch.java 2012-11-28
16:56:32 UTC (rev 16351)
@@ -49,7 +49,8 @@
public class Scratch {
public static void main (String[] args) throws Exception {
- mainSimple(args);
+// mainSimple(args);
+ mainDirectIndexes(args);
// mainBuildDirectIndex(args);
}
@@ -261,9 +262,10 @@
//
// query = new LimitTermsQuery(new SortedTermsQuery(query), 100);
- query = new LimitTermsQuery(new SortedTermsQuery(
- new DocumentsOrTermsQuery("root", IndexType.TOKENS,
- true, TermsQuery.NO_LIMIT, 0, 1)) , 100);
+ query = new LimitTermsQuery(
+ new SortedTermsQuery(
+ new DocumentsOrTermsQuery("root", IndexType.TOKENS, true, 0, 1, 2))
+ , 100);
printTermQuery(query, qEngine);
System.out.println("\n=======================================");
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Keep yourself connected to Go Parallel:
INSIGHTS What's next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.
http://goparallel.sourceforge.net
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs