Revision: 14444
http://gate.svn.sourceforge.net/gate/?rev=14444&view=rev
Author: valyt
Date: 2011-10-27 12:26:19 +0000 (Thu, 27 Oct 2011)
Log Message:
-----------
Make sure the sizes streams are read regardless of the way the index files are
opened.
Modified Paths:
--------------
mimir/trunk/mimir-core/src/gate/mimir/search/QueryEngine.java
Modified: mimir/trunk/mimir-core/src/gate/mimir/search/QueryEngine.java
===================================================================
--- mimir/trunk/mimir-core/src/gate/mimir/search/QueryEngine.java
2011-10-27 10:12:32 UTC (rev 14443)
+++ mimir/trunk/mimir-core/src/gate/mimir/search/QueryEngine.java
2011-10-27 12:26:19 UTC (rev 14444)
@@ -762,7 +762,7 @@
logger.info("Memory mapping failed for index " + indexUri
+ ". Loading as file index instead");
// now try to just open it as an on-disk index
- theIndex = Index.getInstance(indexUri.toString());
+ theIndex = Index.getInstance(indexUri.toString(), true, true);
}
return new IndexReaderPool(theIndex);
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs