: If i give "machine" why is that it stems to "machin", now from where does : this word come from : If i give "revolutionary" it stems to "revolutionari", i thought it should : stem to revolution. : : How does stemming work?
the porter stemmer (and all of the stemmers provided with solr) are programtic stemmers ... they don't actually know the root of any words the use an aproximate algorithm to compute a *token* from a word based on a set of rules ... these tokens aren't neccessarily real words (and most of the time they aren't words) but the same token tends to be produced from words with similar roots. if you want to see the actaul root word, you'll have to use a dictionary based stemmer. -Hoss