I have the flat files (synonym text files) each upto 200kb. Integrationg all of them increased the txt file size to huge. And I wanted to maintain them separately. So in order to apply all those synonyms to same field type I created that many filter tags for respective synonym txt files.
Is it not the right way to do so? Is there a way where in I can apply all those file to same tag with some delimiter separated? like this: <fieldType name="textBODY" class="solr.TextField" positionIncrementGap="100" > <analyzer> <filter class="solr.SynonymFilterFactory" synonyms="BODYTaxonomy.txt , ClinicalObs.txt, MicTaxo.txt, SPTaxo.txt" ignoreCase="true" expand="true"/> <tokenizer class="solr.WhitespaceTokenizerFactory"/> <filter class="solr.SnowballPorterFilterFactory" language="English" protected="protwords.txt"/> </analyzer> </fieldType> Rajani On Mon, Jun 6, 2011 at 11:01 AM, Gora Mohanty <g...@mimirtech.com> wrote: > On Mon, Jun 6, 2011 at 10:34 AM, rajini maski <rajinima...@gmail.com> > wrote: > > Applying synonyms increased the data size from 28 mb to 10.3 gb > > > > Before enabling synonyms to the a field , the data size was 28mb. Now > , > > after applying synonyms I see that data folder size has increased to 10.3 > > gb. > > > > Attached is schema field type for that field: > > > > > > <fieldType name="textBODY" class="solr.TextField" > > positionIncrementGap="100" > > > <analyzer> > > <filter class="solr.SynonymFilterFactory" > > synonyms="BODYTaxonomy.txt" ignoreCase="true" expand="true"/> > > <filter class="solr.SynonymFilterFactory" synonyms="ObsTaxo.txt" > > ignoreCase="true" expand="true"/> > > <filter class="solr.SynonymFilterFactory" synonyms="MTaxonomy.txt" > > ignoreCase="true" expand="true"/> > [...] > > Could you explain what you are trying to do with multiple > SynonymFilterFactory > filters applied to the field? > > Regards, > Gora >