Solr: DIH for multilingual index & multiValued field?

First your schema needs to allow it with something like this: dynamicField name="text_*" type="string" indexed="true" stored="true Then in your DIH config something like this: entity name="document" dataSource="ds1" transformer="script:ftextLang" query="SELECT * FROM documents With the script being defined just below the datasource: script.

First your schema needs to allow it with something like this: Then in your DIH config something like this: With the script being defined just below the datasource.

I'm sorry I don't have a direct answer about your DIH question, though it'd be interesting to know. I did notice your 2 letter language code and suggest a 5 letter slot. Some languages have dialect differences that are non trivial.

For example, Simplified Chinese vs. Traditional Chinese. For morphological analysis, the SmartCN filter can handle zh-cn, but not zh-tw, etc. Portuguese and Spanish are also languages where we've been warned against mixing all dialects together, although the differences are less drastic, and both would still be searchable. Of course you may have already known this, and just didn't add it to the question to keep it simple.

It's just a subject very fresh on my mind.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions