Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] option to provide user dictionary #19

Open
PrashantSPol opened this issue Jul 19, 2017 · 2 comments
Open

[Request] option to provide user dictionary #19

PrashantSPol opened this issue Jul 19, 2017 · 2 comments

Comments

@PrashantSPol
Copy link

Hello,
Currently while using GosenTokenizer, to add new words in dictionary, I need to either
1. compile jar after adding my entries in dictionary.csv
2. or need to provide compiled dictionary path with dictionaryDir option
Both of above options needs compilation of dictionary and following restarting solr instance.

It will be great if we can provide user custom dictionary csv (something like userDicDir or userDicName options),
and restart operation won't be required.

@kyeonghwan-kong
Copy link
Contributor

I sympathize with this problem. But, I think it is necessary to worry about implementation method.
The simplest way is to create a class called UserDictionary and prioritize the search. but, if words are added indiscriminately, performance will continue to deteriorate.

@kyeonghwan-kong
Copy link
Contributor

I would like to have a way to manage the user dictionary separately and update the cost value dynamically. In my personal opinion, There may be a way to find words using two dictionaries and merge the cost values appropriately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants