On Tue, Mar 29, 2011 at 9:46 AM, anurag.walia <walia.anu...@hotmail.com> wrote: [...] > I have a problem with number of character in Term Text . I entered > "Polymer" but after snowballporterfilterfactory it become "Polym" while it > was not exist in "protwords.txt" file . I want if any word does not exist in > "protwords.txt" Term Text should be whole world like "Polymer" [...]
Are you misunderstanding the function of protwords.txt? The SnowballPorterFilterFactory will act upon all words, except those included in protwords.txt. Thus, if you do not want "polymer" to be filtered, put it in protwords.txt. Regards, Gora