Closed (fixed)
Project:
Apache Solr Multilingual
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Aug 2010 at 07:47 UTC
Updated:
17 Aug 2010 at 13:08 UTC
Hi there,
While checking the schema.xml generated by this module I discovered that the compoundwords dictionary is only used for english.
To change this you have to extend the file /apachesolr_multilingual/resources/fieldType_text_LANGUAGE.xml with this line:
<filter class="solr.DictionaryCompoundWordTokenFilterFactory" dictionary="compoundwords[LANGUAGE_ID].txt" />
An appropriate patch is attached.
Cheers,
Peter
| Comment | File | Size | Author |
|---|---|---|---|
| apachesolr_multilingual-schema_fieldTye.diff | 1003 bytes | das-peter |
Comments
Comment #1
mkalkbrenner/apachesolr_multilingual/resources/fieldType_text_LANGUAGE.xml already contains the DictionaryCompoundWordTokenFilterFactory:
Could you please post your schema.xml that has been generated?
Comment #2
das-peter commentedOuch, I was working with HEAD instead of DRUPAL-6--2.
I'll check my D7 port too. To make sure it fit's to the latest version.
Sorry for the inconvenience.
Comment #3
mkalkbrenner