Re: Problem with Russian stemmer in Solr 1.2

2007-07-17 Thread Daniel Alheiros
Hi Andrew. This is an example for one FilterFactory: public class RussianStemFilterFactory extends BaseTokenFilterFactory { private String charset;/** * @see org.apache.solr.analysis.BaseTokenFilterFactory#init(java.util.Map) */ @Overridepublic void init(Map arg0){ super.i

Re: Problem with Russian stemmer in Solr 1.2

2007-07-17 Thread Andrew Stromnov
Hi Daniel How to implement custom Russian factory with various Tokenizers and Filters? Can you provide some code examples? Regards, Andrew Daniel Alheiros wrote: > > Hi Andrew > > Yes, I saw that. As I'm not knowledgeable in Russian I had to infer it was > adequate. But as you have much mor

Re: Problem with Russian stemmer in Solr 1.2

2007-07-10 Thread Daniel Alheiros
Hi Andrew Yes, I saw that. As I'm not knowledgeable in Russian I had to infer it was adequate. But as you have much more to add to it, it could be interesting if you could contribute that. The problem is Russian analyzer and it's filters are all final class, don't allowing an elegant extension. B

Re: Problem with Russian stemmer in Solr 1.2

2007-07-09 Thread Andrew Stromnov
Hi, Daniel Stemmer in RussianAnalyser works as expected. But this analyser doesn't allow any Solr customization. All stopwords are hardcoded, no support for custom tokenizer, no synonym support. RussianAnalyser is similar to this scheme: standard tokenizer standard filter factory word deli

Re: Problem with Russian stemmer in Solr 1.2

2007-07-09 Thread Daniel Alheiros
Hi Andrew In fact I did it creating all the Factories for Solr, but I think you can use it directly, changing your index like this: I’ve not tested that, but I saw something like this. Please tell me if it works as expected and if it solves your problem (I’

Re: Problem with Russian stemmer in Solr 1.2

2007-07-09 Thread Andrew Stromnov
Hi Daniel, Yes, I want to try RussianAnalyzer. How to enable it in Solr config? Thank you. Daniel Alheiros wrote: > > Hi Andrew. > > I'm using the RussianAnalyzer (part of the Lucene analyzers) and it > reduces > списки to списк. > > Do you want to try this other Analyzer? > > Regards, > D

Re: Problem with Russian stemmer in Solr 1.2

2007-07-09 Thread Daniel Alheiros
Hi Andrew. I'm using the RussianAnalyzer (part of the Lucene analyzers) and it reduces списки to списк. Do you want to try this other Analyzer? Regards, Daniel On 9/7/07 16:06, "Andrew Stromnov" <[EMAIL PROTECTED]> wrote: > списки arrondissement turvallisuuden http://www.bbc.co.uk/ This e-m