use [last()] see e.g. configBasic/index/BasicIndex/basicFoxmlToLucene.xslt, find
... <xsl:for-each select="foxml:datastream/foxml:datastreamVersion[last()]/foxml:xmlContent/oai_dc:dc/*"> -gert > -----Original Message----- > From: arne anka [mailto:[email protected]] > Sent: Monday, February 23, 2009 2:18 PM > To: fedora-commons-users > Subject: [Fedora-commons-users] gsearch finds in history, too? > > in one of my objects i changed > > <dc:subject>foo</dc:subject> > > into > > <dc:subject>bar</dc:subject> > > but searching for > > dc.subject:"foo" > > still lists the object i changed recently. > even rebuilding the index did not change that -- and for other objects > i > changed something in the dc-datastream (_not_ <dc:subject>) when > searching > > dc.subject:"foo" > > shows several times the dc.subject line per object, not just once. > > so, i think it is safe to assume that even the old versions of recent > datastreams are indexed which seems somehow implausible to me, at least > at > a default. > am i right? and if so, how do i disable that? i want recent data only. > > ----------------------------------------------------------------------- > ------- > Open Source Business Conference (OSBC), March 24-25, 2009, San > Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Fedora-commons-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/fedora-commons-users ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Fedora-commons-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
