General, Hits: 760, Comments: 0, Bookmarked: 0, Followers: 1
By default when you setup Geodatafy to perform a document index it does not show or parse different languages.
To enable this functionality we need to add the following snippet to the solrconfig.xml located in C:\ProgramData\Geodatafy\config\configsets\document.
By default when you setup Geodatafy to perform a document index it does not show or parse different languages.
To enable this functionality we need to add the following snippet to the solrconfig.xml located in C:\ProgramData\Geodatafy\config\configsets\document.
<processor class="org.apache.solr.update.processor.LangDetectLanguageIdentifierUpdateProcessorFactory">
<lst name="defaults">
<str name="langid.fl">_text_</str>
<str name="langid.langField">language</str>
</lst>
</processor>
In an editor like Notepad++ it will look like this:
Then in a command shell run:
cmd /c "C:\Program Files\Geodatafy\solr\server\scripts\cloud-scripts\zkcli.bat" -zkhost localhost:9983 -cmd upconfig -confname document -confdir C:\ProgramData\Geodatafy\config\configsets\document . (again assuming default paths have been used)
Then restart Geodatafy windows service
Reindex your documents