All of your examples stem to ковров:
assertAnalyzesTo(a, Коврова Коврову Ковровом Коврове,
new String[] { ковров, ковров, ковров, ковров });
}
Are you sure you enabled this at *both* index and query time?
2010/7/27 Oleg Burlaca o...@burlaca.com
Hello,
I'm using
another look, your problem is ковров itself... its mapped to ковр
a workaround might be to use the protected words functionality to
keep ковров and any other problematic people/geo names as-is.
separately, in trunk there is an alternative russian stemmer
(RussianLightStemFilterFactory), which
Yes, I'm sure I've enabled SnowballPorterFilterFactory both at Index and
Query time, because the search works ok,
except names and geo locations.
I've noticed that searching by
Коврова
also shows documents that contain Коврову, Коврове
Search by Ковров, 7 results:
A similar word is Немцов.
The strange thing is that searching for Немцова will not find documents
containing Немцов
Немцова: 14 articles
http://www.sova-center.ru/search/?lg=1q=%D0%BD%D0%B5%D0%BC%D1%86%D0%BE%D0%B2%D0%B0
Немцов: 74 articles
Actually the situation with Немцов из ок,
I've just checked how Yandex works with Немцов and Немцова:
http://nano.yandex.ru/project/inflect/
I think there are two solutions:
a) manually search for both Немцов and then Немцова
b) use wildcard query: Немцов*
Robert, thanks for the
2010/7/27 Oleg Burlaca o...@burlaca.com
Actually the situation with Немцов из ок,
I've just checked how Yandex works with Немцов and Немцова:
http://nano.yandex.ru/project/inflect/
I think there are two solutions:
a) manually search for both Немцов and then Немцова
b) use wildcard query:
Thanks Robert for all your help,
The idea of ы[A-Z].* stopwords is ideal for the english language,
although in russian nouns are inflected: Борис, Борису, Бориса, Борисом
I'll try the RussianLightStemFilterFactory (the article in the PDF mentioned
it's more accurate).
Once again thanks,
Oleg
right, but your problem is this is the current output:
Ковров - Ковр
Коврову - Ковров
Ковровом - Ковров
Коврове - Ковров
so, if Ковров was simply left alone, all your forms would match...
2010/7/27 Oleg Burlaca o...@burlaca.com
Thanks Robert for all your help,
The idea of ы[A-Z].* stopwords
: Russian stemmer
To: solr-user@lucene.apache.org
Date: Tuesday, July 27, 2010, 7:12 AM
right, but your problem is this is
the current output:
Ковров - Ковр
Коврову - Ковров
Ковровом - Ковров
Коврове - Ковров
so, if Ковров was simply left alone, all your forms
would match...
2010/7/27