Comments (4)
Works now
from hermes.
It's using java's idea of the default locale in order to choose which language reference set(s) to use in order to choose the preferred synonym to be stored in the cache that is the search index used for autocompletion. Arguably, it shouldn't fail like that but instead flag an error and point out you need to provide a locale to use upfront, or fallback to using "en-US". I have already committed some changes to permit explicit locale choice at the command-line. I will create a new release, if that helps - but in the meantime you could set the locale at the command line. The other option is that I include en-IN in the list of known locales and you tell me which language reference sets to use for India. Are there any specific for India, or do you use UK or US? I'd value your opinion.
from hermes.
Yup. I figured that out after looking at the code. It works after I went into my system settings and changed my locale to en-US! Indian Medical Terminologies are based more around UK terms than US, an explicit option would be best.
In the current version v0.8.0 can I pass the locale via a command-line flag or env variable?
from hermes.
Try v0.8.1 676f3d8 - you can now specify --locale as an option for index creation to override your system default, and it will fallback to en-US which I think is a reasonable default.
Also see
for the current list of "known" languages, which is incomplete. As I wasn't permitted to download the different international releases, I haven't been able to test or indeed populate this language mapping. I can easily add a suitable priority list of refset identifiers for "en-IN" which could use UK and US as a fallback.from hermes.
Related Issues (20)
- Importing additional refsets from the Spanish drugs extension HOT 13
- Add support for arbitrary reference sets HOT 2
- Does not recognise simple refsets without "Simple" in the (actually optional) Summary of the "ContentSubType" element. HOT 15
- Search wraps properties containing non-vector types as a vector HOT 1
- Getting Java Class error HOT 7
- Status info missing HOT 2
- Excluding Codes HOT 13
- Backing key value store HOT 7
- Evaluate compression in backing store HOT 1
- Not working on M1 mac HOT 8
- Error importing distribution HOT 3
- Inactive Descriptions show up in search HOT 12
- Relationship indices are not generated correctly when there are multiple relationships relating to same source/target/type
- Dropping support for Java 1.8 and Lucene 8? HOT 1
- Use optimised 'description'
- Search using constraint with refinements times out HOT 6
- Add support for concrete types, for indexing and for search HOT 5
- Improve server error messages
- Consider adding alternatives to expand-ecl HOT 3
- Some client JSON parsers don't support 64-bit integers, potentially causing truncation HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hermes.