Before you start worrying about memory, do you have any proof at all that memory is a problem? Are you expecting to have a lot of documents in your index (as in multiple tens of millions)?
If you try to put multiple languages in a single field, the results will be problematic for some set documents/queries, especially if you're mixing widely disparate languages (think English and Chinese for instance). I'd try the field per language option just to see if you need to go to a more complex solution. There is no penalty for empty fields in documents, so don't worry about that. Best Erick On Sun, Apr 15, 2012 at 3:40 PM, srinir <sramasw...@nextag.com> wrote: > Hi Erick, > > Thanks a lot for your reply. I have around 10-15 searchable text fields (and > 5-6 languages). If I create one per language will that increase the memory > occupied by my index. Even though only one field will have a value at a > time, will there be a case the empty fields in the index will occupy some > memory ? will that happen if i enable field caching ? > > > Thanks > Srini > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/dynamic-analyzer-based-on-condition-tp3909345p3912605.html > Sent from the Solr - User mailing list archive at Nabble.com.