Matteo,
As a first check, you may want to view your fedora log, and your gsearch log
files to see if there was a problem fetching this datastream during the
indexing.
My success with getDatastreamText was spotty, and I ultimately made direct
API-A REST (get) calls in my xslt document to fetch streams such at the
M(anaged) ones.
I *believe* I did ultimately have some success after removing the
TrustStorePass value from the properties file - but your mileage may vary.
Good luck,
-Tim C.
From: Matteo Boschini [mailto:matteo.bosch...@gmail.com]
Sent: Tuesday, October 19, 2010 9:35 AM
To: Fedora Users
Subject: [fcrepo-user] dummy question on gsearch
Sorry for this very dummy/stupid question...
I've succeeded in setting up gsearch with full-text datastream Lucene indexing
at least 4 times, but now I an no longer do it...
I have a BasicIndex config/setup, and am trying to get some PDF datastreams
full-text indexed.
basicFoxmlToLucene has lines saying:
<xsl:for-each select="foxml:datastre...@control_group='M']">
<IndexField index="TOKENIZED" store="YES"
termVector="NO">
<xsl:attribute name="IFname">
<xsl:value-of
select="concat('dsm.', @ID)"/>
</xsl:attribute>
<xsl:value-of
select="exts:getDatastreamText($PID, $REPOSITORYNAME, @ID, $FEDORASOAP,
$FEDORAUSER, $FEDORAPASS, $TRUSTSTOREPATH, $TRUSTSTOREPASS)"/>
</IndexField>
</xsl:for-each>
thus I assume that Managed datastreams, of a MIME-type defined in
fedoragsearch.properties (actualy, application/pdf, it's there by default),
should be indexed, but they're not (I checked also with luke).
And in fact, in browseIndex, the FieldName dms.ID is not listed.
I'm surely missing something stupid, may be someone out there can help me...
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users