How does this attribute "token factory" within filter work?

     In this link [click
here],<http://www.mail-archive.com/solr-dev@lucene.apache.org/msg05751.html>There
is the usage of token factory in the synonym filter tag. Here I see the
white space token at index time then a synonym filter followed by white
space token factory. What is role of white space token factory in this case?

Say for example if i have data at index time is : "Tourist place xyz  Infant
Jesus church  Coles park Cafe coffee Day"

Synoyms: Hang out, Outing, Tourist place
Cafe Coffee Day, CCD,Cafe shop

How does the 2 tokens together plays role of splitting the above data .


Please anyone explain me for one of the example followed:   When user search
"Hang out", how does the data gets split to match to synonym in list. {any
appropriate link related to this is also fine}




Thanks
Awaiting reply


Rajani

Reply via email to