Maybe the name of the indexing stylesheet is not set right, in your case 
foxmlToSolrGenerated.xslt, look it up in index.properties at 
fgsindex.defaultUpdateIndexDocXslt

Gert


On 12/06/2013, at 17.35, Alistair Young wrote:

> gave that a try Peter but indexing one document doesn't seem to work. If I 
> index the entire repo the 'field name' is picked up. If I change it in the 
> xslt and reindex just one document the change isn't picked up, even though 
> the logs show the reindex in gsearch and solr.
> 
> Alistair
> 
> -- 
> mov eax,1
> mov ebx,0
> int 80h
> 
> From: Peter Murray <[email protected]>
> Reply-To: "Support and info exchange list for Fedora users." 
> <[email protected]>
> Date: Wednesday, 12 June 2013 15:00
> To: "Support and info exchange list for Fedora users." 
> <[email protected]>
> Subject: Re: [fcrepo-user] gsearch xslt changes
> 
> Hello, Alistair.  You do indeed need to re-index in order to see the changes. 
>  I would recommend re-indexing one PID then using either the fedoragsearch 
> interface or the SOLR admin interface to pull up the indexed document to make 
> sure your changes are there before doing a full re-index.
>  
>  
> Peter
> --
> Peter Murray
> Assistant Director, Technology Services Development
> [email protected]
> +1 678-235-2955
> 800.999.8558 x2955
>  
> <image001.png>
>  
> <image002.jpg><image003.jpg>
>  
> From: Alistair Young [mailto:[email protected]] 
> Sent: Wednesday, June 12, 2013 9:13 AM
> To: Support and info exchange list for Fedora users.
> Subject: [fcrepo-user] gsearch xslt changes
>  
> sorry for the daft Q but if I change:
>  
> fedoragsearch/WEB-INF/classes/fgsconfigFinal/index/FgsIndex/foxmlToSolrGenerated.xslt
>  
> do I need to reindex the repo? None of the changes to the xslt are showing up 
> in the solr search. Specificallym, adding in a new rdf bit:
>  
> <xsl:for-each select="//rdf:Description/rdf:isInCategory/@rdf:resource">
> <field name="rdf.Description_IsInCategory:resource">
> <xsl:value-of select="."/>
> </field>
> </xsl:for-each>
>  
> removing stuff from the xslt doesn't remove it from the solr results so it's 
> prolly not a bum xsl causing the prob.
>  
> thanks,
>  
> Alistair
>  
> ------------------------------------
> Alistair Young
> Àrd-Innleadair air Bathar-Bog
> UHI@Sabhal Mòr Ostaig
>  
> <image001.png><image002.jpg><image003.jpg>------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
> 
> Build for Windows Store.
> 
> http://p.sf.net/sfu/windows-dev2dev_______________________________________________
> Fedora-commons-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to