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:

<fieldtype name="cpstext_russian" class="solr.TextField"
positionIncrementGap="100">
        <analyzer type="index"
class=”org.apache.lucene.analysis.ru.RussianAnalyzer”>
        </analyzer>
        <analyzer type="query"
class=”org.apache.lucene.analysis.ru.RussianAnalyzer”>
        </analyzer>
</fieldtype>

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’m
indexing Russian content and as you seem to be knowledgeable of Russian
language your comments are very useful).

Regards,
Daniel

On 9/7/07 18:00, "Andrew Stromnov" <[EMAIL PROTECTED]> wrote:

> 
> 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,
>> Daniel
>> 
>> 
>> On 9/7/07 16:06, "Andrew Stromnov" <[EMAIL PROTECTED]> wrote:
>> 
>>> списки arrondissement turvallisuuden
>> 
>> 
>> http://www.bbc.co.uk/
>> This e-mail (and any attachments) is confidential and may contain personal
>> views which are not the views of the BBC unless specifically stated.
>> If you have received it in error, please delete it from your system.
>> Do not use, copy or disclose the information in any way nor act in
>> reliance on it and notify the sender immediately.
>> Please note that the BBC monitors e-mails sent or received.
>> Further communication will signify your consent to this.
>> 
>> 
>> 


http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal 
views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on 
it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.
                                        

Reply via email to