I recommend getting familiar with the analysis tool included with solr. From
Solr's main admin screen, click on "analysis", Check verbose, and enter your
text, and you can see the changes that happen during analysis.

It's really helpful, especially when getting started.

Tom


On Wed, Jan 27, 2010 at 2:41 AM, murali k <ilar...@gmail.com> wrote:

>
> 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.
>
>

Reply via email to