Hi Carsten,

Thank you for this valuable feedback. The solr conf files in 
.../index/DemoOnSolr/conf are tailored versions of the conf files supplied with 
the solr release, tailored for the gsearch demo. In any case, if your 
application is different from the gsearch demo, you have to tailor the conf 
files consistently. You may also start from the solr release conf files, which 
are in a way also just a demo of one possible configuration out of many.

The exact criterium to add a field to fgsindex.untokenizedFields is that it is 
indexed by solr as UNTOKENIZED, and that is determined as I said in my previous 
answer some minutes ago. If you choose the solr plugin with gsearch, there is 
no way around knowing many things about your solr server. The benefit is that 
you get the extra functionality that solr adds to lucene, whereas if you choose 
the lucene plugin with gsearch, then configuration is simpler, and you do not 
have to operate the solr server.

Cheers,
Gert

> -----Original Message-----
> From: [email protected] [mailto:[email protected]]
> Sent: Wednesday, June 17, 2009 8:10 AM
> To: [email protected]
> Subject: [Fedora-commons-users] Some comments on installing
> fedoragsearch with Solr
> 
> Hi,
> 
> I managed to install fedoragsearch 2.2 with Solr 1.3.0 after some
> initial problems. Here some observations that might help others (or can
> be fixed by the developers).
> 
> Despite, I hope, changing all the correct values in configvalues.xml
> and running the ant task I still had to do the following:
> 
> * Edit config\index\index.properties:
>       o Change fgsindex.indexBase  (  = http://localhost:8080/solr). I
> would have expected this to be set by the ant script, but it was not.
>       o Add non-free-text fields to fgsindex.untokenizedFields (=
> fgs.contentModel fgs.ownerId PID ...)
> * Manually copy the folder "configBasic/updater" to config. Again,
> maybe the ant script should do this.
> * Edit config\index\DemoOnSolr\demoFoxmlToSolr.xslt and remove the
> condition <xsl:if test="starts-with($PID,'demo')">. If you want to
> index anything else apart from the demo objects you need to do this.
> 
> There is also the case of the files in config\index\DemoOnSolr\conf.
> They seem to be duplicates from Solr, but I'm not sure if I'm supposed
> to edit them; e.g. change them to be identical to the ones in Solr, or
> can I even just delete them? I left them as they came and things seem
> to work more or less. There are still some unresolved issues.
> Particularly I don't always get a clickable-link when I browse the
> index (despite getting the label, and field values) and it is still not
> quite clear to me what the exact criteria are to add a field to
> fgsindex.untokenizedFields, but things basically seem to work.
> 
> Carsten
> 
> 
> 
> -----------------------------------------------------------------------
> -------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> Fedora-commons-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to