lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From murali k <>
Subject Plurals in solr indexing
Date Wed, 27 Jan 2010 10:41:32 GMT

I am having trouble with indexing plurals, 

I have the schema with following fields
gender (field) - string (field type) (eg. data Boys)
all (field) - text (field type)  - solr.WhitespaceTokenizerFactory,
solr.SynonymFilterFactory, solr.WordDelimiterFilterFactory,
solr.LowerCaseFilterFactory, SnowballPorterFilterFactory

i am using copyField from gender to all

and searching on "all" field

When i search for Boy, I get the results, If i search for Boys i dont get
I have tried things like "boys bikes" - no results
"boy bikes" - works

kid and kids are synonymns for boy and boys, so i tried adding 
kid,kids,boy,boys in synonyms hoping it will work, it doesnt work that way

I also have other content fields which are copied to "all" , and it contains
words like "kids, boys" etc...
any idea?

View this message in context:
Sent from the Solr - User mailing list archive at

View raw message