Hi, Thank you very much for your quick answer.
I have a table with a field called 'description'. This field can contain either french, either english, but not both. The approach you have proposed will make sphinx apply sequentially the english stemmer first and then the french stemmer if the english stemmer is not applicable. Is there a way to indicate that we want to apply a specific stemmer (for example french) when a specific condition is met (for example when a table field called 'lang' is set to 'fr') Best regards. On Jan 5, 3:27 pm, Pat Allan <[email protected]> wrote: > Hi Thierry > > It depends how you want to approach the problem... are the same fields > going to contain both french and english? Or are they going to be > separate fields? > > If you've got a french stemmer compiled, then you can apply both > french and english stemming to the same indexes, using something like > the following in your config/sphinx.yml (I'm guessing the name of the > french stemmer): > > development: > morphology: stem_en, stem_fr > test: > morphology: stem_en, stem_fr > production: > morphology: stem_en, stem_fr > > Hope this provides something to start with. > > Cheers > > -- > Pat > > On 05/01/2009, at 9:17 PM, thierry B wrote: > > > > > Hello, > > > I 'd like to index both english and french data. I've compiled > > sphinx with libstemmer_c in order to index french. I know how to > > index/ > > search french and english separately but not both. > > What are the best pratices for managing different languages with > > thinking-sphinx ? > > > Thank you. > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en -~----------~----~----~----~------~----~------~--~---
