Open the file:
$FEDORAHOME/tomcat/webapps/fedoragsearch/WEB-INF/classes/config/index/demoFoxmlToLucene.xslt
At present, Muradora's file allows all digital objects in your Fedora repository to be indexed and searchable. If you're alright with indexing just the Greenstone documents stored in Fedora's repository, then we'll add the following to the above file:
<xsl:if test="starts-with($PID,'greenstone')">
...
</xsl:if>
So that now the file contains:
<xsl:if test="foxml:digitalObject/foxml:objectProperties/foxml:property[@NAME='http://www.w3.org/1999/02/22-rdf-syntax-ns#type' and @VALUE='FedoraObject']">
<xsl:if test="starts-with($PID,'greenstone')"> // ADDED THIS
<!-- filter out annotations: -->
<!--
<xsl:choose>
<xsl:when test="foxml:digitalObject/foxml:datastream/foxml:datastreamVersion[last()]/foxml:xmlContent/rdf:RDF/rdf:Description/rel:isMemberOf[@rdf:resource='info:fedora/mura:annotations']">
</xsl:when> // CORRECTED typo in this comment
<xsl:otherwise>
-->
<xsl:apply-templates mode="activeDemoFedoraObject"/>
<!--
</xsl:otherwise>
</xsl:choose>
-->
</xsl:if> // ADDED THIS
</xsl:if>