Revision: 16062 http://gate.svn.sourceforge.net/gate/?rev=16062&view=rev Author: valyt Date: 2012-09-11 10:49:08 +0000 (Tue, 11 Sep 2012) Log Message: ----------- Bringing in changes from trunk: - bugfix for getDocumentMetadata - documentation about mimir-cloud web app - changelog
New version number: 4.1.3 Modified Paths: -------------- mimir/branches/4.1/build.properties mimir/branches/4.1/doc/admin.tex mimir/branches/4.1/doc/changes.tex mimir/branches/4.1/doc/mimir-guide.pdf mimir/branches/4.1/doc/mimir-version.tex mimir/branches/4.1/mimir-cloud/application.properties mimir/branches/4.1/mimir-core/src/gate/mimir/search/RankingQueryRunnerImpl.java Property Changed: ---------------- mimir/branches/4.1/ mimir/branches/4.1/doc/ mimir/branches/4.1/mimir-core/src/ mimir/branches/4.1/mimir-web/ Property changes on: mimir/branches/4.1 ___________________________________________________________________ Modified: svn:mergeinfo - /mimir/branches/3.4:14623,14634-14643,14687 /mimir/branches/4.0:15380-15383,15385-15386,15388 /mimir/branches/4.x:14298-14348 /mimir/trunk:15778-15824,16023 + /mimir/branches/3.4:14623,14634-14643,14687 /mimir/branches/4.0:15380-15383,15385-15386,15388 /mimir/branches/4.x:14298-14348 /mimir/trunk:15778-15824,16022-16023,16058-16061 Modified: mimir/branches/4.1/build.properties =================================================================== --- mimir/branches/4.1/build.properties 2012-09-11 10:20:30 UTC (rev 16061) +++ mimir/branches/4.1/build.properties 2012-09-11 10:49:08 UTC (rev 16062) @@ -1,4 +1,4 @@ -app.version=4.1.2 +app.version=4.1.3 mimir-core.dirname=mimir-core mimir-client.dirname=mimir-client plugins.dirname=plugins Property changes on: mimir/branches/4.1/doc ___________________________________________________________________ Modified: svn:mergeinfo - /mimir/branches/3.4/doc:14623,14634-14643,14687 /mimir/branches/4.0/doc:15380-15383,15385-15386,15388 /mimir/branches/4.x/doc:14298-14348 /mimir/trunk/doc:15816-15824,16023 + /mimir/branches/3.4/doc:14623,14634-14643,14687 /mimir/branches/4.0/doc:15380-15383,15385-15386,15388 /mimir/branches/4.x/doc:14298-14348 /mimir/trunk/doc:15816-15824,16022-16023,16058-16061 Modified: mimir/branches/4.1/doc/admin.tex =================================================================== --- mimir/branches/4.1/doc/admin.tex 2012-09-11 10:20:30 UTC (rev 16061) +++ mimir/branches/4.1/doc/admin.tex 2012-09-11 10:49:08 UTC (rev 16062) @@ -296,6 +296,27 @@ \end{lstlisting} +\subsection{The {\tt mimir-cloud} Web Application} + +The {\tt mimir-cloud} web application is the actual version of the \Mimir\ +software that is used on the GATECloud\footnote{\url{https://gatecloud.net}} +platform. As such, it is configured for that particular usage scenario, where +indexes have two different URLs (depending on whether they are accessed from +within the same cloud region or not), and where the local configuration page is +not made avaialble to the user. + +While we include this application as an example of a fully-fledged Grails +application using the {\tt mimir-web} plugin, you may need to modify it slightly +to make it mode suitable to your actual usage scenario. In particular, the +default local configuration uses a known writeable location for the creation of +local indexes (the {\it Index base directory} is set to be under {\tt /data}). +If such a path does not exist on your system, or is not writeable by the system +user running \Mimir{}, you will need to modify the configuration to provide a +more suitable value. The web page for modifying the configuration is not linked +from the administration page, but can still be accessed at a URL like {\tt +http://localhost/:8080/mimir/admin/mimirConfiguration/edit}\footnote{You may +need to change the host name and/or port number accordingly.}. + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \section{Indexes in \Mimir} Modified: mimir/branches/4.1/doc/changes.tex =================================================================== --- mimir/branches/4.1/doc/changes.tex 2012-09-11 10:20:30 UTC (rev 16061) +++ mimir/branches/4.1/doc/changes.tex 2012-09-11 10:49:08 UTC (rev 16062) @@ -1,10 +1,17 @@ This appendix details the main changes in each \Mimir\ release. +\section{Version 4.1.3 (September 2012)} +\begin{itemize} + \item Bug fix in ranking query runner (used to search local indexes): a + document ID was used instead of a document rank when requesting metadata + fields. +\end{itemize} \section{Version 4.1.2 (August 2012)} \begin{itemize} -\item Bug fix to void null pointer exceptions when the API is used to access + \item Bug fix to void null pointer exceptions when the API is used to access query results in a federated index without first checking the number of - available documents. + available documents. Calling methods with an invalid {\tt rank} parameter will + now cause an index out of bounds exception. \end{itemize} \section{Version 4.1.1 (May 2012)} \begin{itemize} Modified: mimir/branches/4.1/doc/mimir-guide.pdf =================================================================== (Binary files differ) Modified: mimir/branches/4.1/doc/mimir-version.tex =================================================================== --- mimir/branches/4.1/doc/mimir-version.tex 2012-09-11 10:20:30 UTC (rev 16061) +++ mimir/branches/4.1/doc/mimir-version.tex 2012-09-11 10:49:08 UTC (rev 16062) @@ -8,4 +8,4 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\newcommand{\mimirversion}{4.1.2} \ No newline at end of file +\newcommand{\mimirversion}{4.1.3} \ No newline at end of file Modified: mimir/branches/4.1/mimir-cloud/application.properties =================================================================== --- mimir/branches/4.1/mimir-cloud/application.properties 2012-09-11 10:20:30 UTC (rev 16061) +++ mimir/branches/4.1/mimir-cloud/application.properties 2012-09-11 10:49:08 UTC (rev 16062) @@ -1,9 +1,9 @@ #Grails Metadata file -#Mon Aug 20 11:04:03 BST 2012 +#Tue Sep 11 11:26:30 BST 2012 app.grails.version=1.3.7 app.name=mimir-cloud app.servlet.version=2.4 -app.version=4.1.2 +app.version=4.1.3 plugins.background-thread=1.6 plugins.hibernate=1.3.7 plugins.spring-security-core=1.2.4 Property changes on: mimir/branches/4.1/mimir-core/src ___________________________________________________________________ Modified: svn:mergeinfo - /mimir/branches/3.4/mimir-core/src:14623,14634-14643 /mimir/branches/4.0/mimir-core/src:15380-15383,15385-15386,15388 /mimir/branches/4.x/mimir-core/src:14299-14316 /mimir/trunk/mimir-core/src:15778-15824,16023 + /mimir/branches/3.4/mimir-core/src:14623,14634-14643 /mimir/branches/4.0/mimir-core/src:15380-15383,15385-15386,15388 /mimir/branches/4.x/mimir-core/src:14299-14316 /mimir/trunk/mimir-core/src:15778-15824,16022-16023,16058-16061 Modified: mimir/branches/4.1/mimir-core/src/gate/mimir/search/RankingQueryRunnerImpl.java =================================================================== --- mimir/branches/4.1/mimir-core/src/gate/mimir/search/RankingQueryRunnerImpl.java 2012-09-11 10:20:30 UTC (rev 16061) +++ mimir/branches/4.1/mimir-core/src/gate/mimir/search/RankingQueryRunnerImpl.java 2012-09-11 10:49:08 UTC (rev 16062) @@ -667,9 +667,8 @@ Set<String> fieldNames) throws IndexException, IndexOutOfBoundsException, IOException { Map<String, Serializable> res = new HashMap<String, Serializable>(); - long docId = getDocumentID(rank); for(String fieldName : fieldNames) { - Serializable value = getDocumentMetadataField(docId, fieldName); + Serializable value = getDocumentMetadataField(rank, fieldName); if(value != null) res.put(fieldName, value); } return res; Property changes on: mimir/branches/4.1/mimir-web ___________________________________________________________________ Modified: svn:mergeinfo - /mimir/branches/3.4/mimir-web:14546,14623,14634-14643,14687 /mimir/branches/4.0/mimir-web:15380-15383,15385-15386,15388 /mimir/trunk/mimir-web:15778-15824,16023 + /mimir/branches/3.4/mimir-web:14546,14623,14634-14643,14687 /mimir/branches/4.0/mimir-web:15380-15383,15385-15386,15388 /mimir/trunk/mimir-web:15778-15824,16022-16023,16058-16061 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 GATE-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gate-cvs