lucene-solr-user mailing list archives

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

Hi, 
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
results, 
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: http://old.nabble.com/Plurals-in-solr-indexing-tp27335639p27335639.html
Sent from the Solr - User mailing list archive at Nabble.com.


Mime
View raw message