Share » Forums » Developer » eZ Find / Solr config for partial...

eZ Find / Solr config for partial search on latin chars

eZ Find / Solr config for partial search on latin chars

Friday 13 May 2011 8:16:29 am - 2 replies

Modified on Friday 13 May 2011 9:47:51 am by Bjørnar Grøtterud

Author Message

Paul Borgermans

Monday 16 May 2011 11:58:44 am

Hello Bjørnar

I guess you mean that using normal wildcards (asterix) after the characters which are added in your template logic

The culprit is actually the ISOLatin filter factory: when doing wildcard searches, the analysis steps are not done.There is still no stable resolution in Solr (where the "problem" actually is). The same for lowercasing by the way.

If you really want to rely so much on wildcards (which I dont recommend either actually), best is to remove the ISOlatin "normalisation" as well (both index and query analysis steps)

Furthermore, I think you did not remove the stemming step for the query part of your text field type in schema.xml (otherwise you should not get a match for ølboll). You should absolutely remove the stemming part there as well.

It would be good that you email me your schema.xml for closer inspection

Cheers

Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Bjørnar Grøtterud

Thursday 19 May 2011 12:42:11 am

Hi Paul,

thanks for your reply.

The reason why we have added wildcards, is that we found this as the only solution for partial search for both first and last part of a word. It actually works well, exept for latin chars.

Ill try your suggestion on removing the ISOLatin1AccentFilterFactory.

We have already removed the SnowballPorterFilterFactory from the query part in our schema.xml.

Ill send you our schema.xml, thanks for taking a look!

Best regards

Bjørnar

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu