Also, depending on the version of VuFind you are using, it may not be a problem. Since r2942, some fields (title and topic) are also indexed without stemming & weighted above stemmed versions by default so that the user gets what they entered first, & only then is presented with stemmed versions. See http://vufind.org/jira/browse/VUFIND-259
Eoghan

On 28 September 2010 17:35, Demian Katz <demian.katz@villanova.edu> wrote:
VuFind uses the SnowballPorterFilterFactory for word stemming by default.  I'm sure this is what is causing the issue you describe -- in many cases, stemming is helpful for retrieval of all relevant results, but there are always special situations where it causes confusing and misleading responses.  To avoid these situations, your most obvious options are to choose a different stemmer or disable stemming entirely.

To disable stemming, just remove the SnowballPorterFilterFactory lines from solr/biblio/conf/schema.xml under your VuFind installation, then reindex everything.

To find a different stemmer, see http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters/#Stemming.

Unfortunately, there is not currently a mechanism in the SnowballPorterFilterFactory for blacklisting certain words to avoid stemming (ignore the protected attribute in the configuration file -- this doesn't actually work and is probably a relic from an earlier configuration using a different stemmer).  The good news is that a generic stemming exclusion mechanism is coming in a future version of Solr; the bad news is, I'm not sure which version, or when.

Does this help?

- Demian


> -----Original Message-----
> From: Markus Fischer [mailto:info@flyingfischer.ch]
> Sent: Tuesday, September 28, 2010 11:55 AM
> To: vufind-general@lists.sourceforge.net
> Subject: [VuFind-General] Searches ending on -ing get autotruncated
>
> I noticed a strange search behaviour in Vufind:
>
> care brings also careing and vice versa
>
> It seems as the verbform on -ing is always treated in the same way as
> the noun with add autotruncation...
>
> This is strange because, in the case of careing the later is not really
> the verbform, but also a separate technical term in health care.
>
> Is there a way to disable this behaviour?
>
> Thanks Markus
>
>
> -----------------------------------------------------------------------
> -------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> VuFind-General mailing list
> VuFind-General@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/vufind-general

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
VuFind-General mailing list
VuFind-General@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vufind-general