[GH-ISSUE #76] "defaultLangAnalyzer": "ambar_de" doesn't work #78

Closed
opened 2026-02-27 15:54:52 +03:00 by kerem · 4 comments
Owner

Originally created by @TheGammelgalopper on GitHub (Sep 18, 2017).
Original GitHub issue: https://github.com/RD17/ambar/issues/76

Hi there,
first of all thank you for all the work that was put in here! This looks truly epic!
The installation was ok (some minor hiccups) but now I have a larger problem:
Changing the Language Analyzer to German somehow does not work...
I tried:
ambar_de
ambar-de
ambar_deu
After every change I restarted the service but it still says that the Language Analyzer would be English (WEB GUI -> Account).

Console output:

Docker version 17.07.0-ce, build 8784753
docker-compose version 1.16.1, build 6d1ac219
Stopping Ambar...
f6f2a25b953b
Crawlers containers removed
f6da9687efae
Pipeline containers removed
Stopping ambar_frontend_1     ... done
Stopping ambar_webapi_1       ... done
Stopping ambar_db_1           ... done
Stopping ambar_proxy_1        ... done
Stopping ambar_es_1           ... done
Stopping ambar_rabbit_1       ... done
Stopping ambar_webapi-cache_1 ... done
Removing ambar_frontend_1     ... done
Removing ambar_webapi_1       ... done
Removing ambar_db_1           ... done
Removing ambar_proxy_1        ... done
Removing ambar_es_1           ... done
Removing ambar_rabbit_1       ... done
Removing ambar_webapi-cache_1 ... done
Removing network ambar_internal_network
Ambar is stopped
vm.max_map_count = 262144
net.ipv4.ip_local_port_range = 15000 61000
net.ipv4.tcp_fin_timeout = 30
net.core.somaxconn = 1024
net.core.netdev_max_backlog = 2000
net.ipv4.tcp_max_syn_backlog = 2048
Creating network "ambar_internal_network" with the default driver
Creating ambar_rabbit_1 ...
Creating ambar_webapi-cache_1 ...
Creating ambar_proxy_1 ...
Creating ambar_db_1 ...
Creating ambar_rabbit_1
Creating ambar_es_1 ...
Creating ambar_webapi-cache_1
Creating ambar_proxy_1
Creating ambar_db_1
Creating ambar_es_1 ... done
Creating ambar_webapi_1 ...
Creating ambar_webapi_1 ... done
Creating ambar_frontend_1 ...
Creating ambar_frontend_1 ... done
Waiting for Ambar to start...
Ambar is on http://10.10.10.52:80
Originally created by @TheGammelgalopper on GitHub (Sep 18, 2017). Original GitHub issue: https://github.com/RD17/ambar/issues/76 Hi there, first of all thank you for all the work that was put in here! This looks truly epic! The installation was ok (some minor hiccups) but now I have a larger problem: Changing the Language Analyzer to German somehow does not work... I tried: ambar_de ambar-de ambar_deu After every change I restarted the service but it still says that the Language Analyzer would be English (WEB GUI -> Account). Console output: ``` Docker version 17.07.0-ce, build 8784753 docker-compose version 1.16.1, build 6d1ac219 Stopping Ambar... f6f2a25b953b Crawlers containers removed f6da9687efae Pipeline containers removed Stopping ambar_frontend_1 ... done Stopping ambar_webapi_1 ... done Stopping ambar_db_1 ... done Stopping ambar_proxy_1 ... done Stopping ambar_es_1 ... done Stopping ambar_rabbit_1 ... done Stopping ambar_webapi-cache_1 ... done Removing ambar_frontend_1 ... done Removing ambar_webapi_1 ... done Removing ambar_db_1 ... done Removing ambar_proxy_1 ... done Removing ambar_es_1 ... done Removing ambar_rabbit_1 ... done Removing ambar_webapi-cache_1 ... done Removing network ambar_internal_network Ambar is stopped vm.max_map_count = 262144 net.ipv4.ip_local_port_range = 15000 61000 net.ipv4.tcp_fin_timeout = 30 net.core.somaxconn = 1024 net.core.netdev_max_backlog = 2000 net.ipv4.tcp_max_syn_backlog = 2048 Creating network "ambar_internal_network" with the default driver Creating ambar_rabbit_1 ... Creating ambar_webapi-cache_1 ... Creating ambar_proxy_1 ... Creating ambar_db_1 ... Creating ambar_rabbit_1 Creating ambar_es_1 ... Creating ambar_webapi-cache_1 Creating ambar_proxy_1 Creating ambar_db_1 Creating ambar_es_1 ... done Creating ambar_webapi_1 ... Creating ambar_webapi_1 ... done Creating ambar_frontend_1 ... Creating ambar_frontend_1 ... done Waiting for Ambar to start... Ambar is on http://10.10.10.52:80 ```
kerem closed this issue 2026-02-27 15:54:52 +03:00
Author
Owner

@isido993 commented on GitHub (Sep 18, 2017):

Hi!

After changing default lang. analyzer in your config.json you have to reset Ambar to apply changes: sudo ./ambar.py reset - this command will recreate the index with specified lang. analyzer.

<!-- gh-comment-id:330261654 --> @isido993 commented on GitHub (Sep 18, 2017): Hi! After changing default lang. analyzer in your `config.json` you have to reset Ambar to apply changes: `sudo ./ambar.py reset` - this command will recreate the index with specified lang. analyzer.
Author
Owner

@TheGammelgalopper commented on GitHub (Sep 18, 2017):

Are you sure?
I just performed this command and Ambar is completely gone...

<!-- gh-comment-id:330284711 --> @TheGammelgalopper commented on GitHub (Sep 18, 2017): Are you sure? I just performed this command and Ambar is completely gone...
Author
Owner

@isido993 commented on GitHub (Sep 18, 2017):

Yes, this command recreates your index.

<!-- gh-comment-id:330290150 --> @isido993 commented on GitHub (Sep 18, 2017): Yes, this command recreates your index.
Author
Owner

@TheGammelgalopper commented on GitHub (Sep 18, 2017):

So I reinstalled Ambar? Because I could not start it anymore...

I then changed the language to "ambar_de" before starting it the first time and it worked!

Thx!

<!-- gh-comment-id:330292286 --> @TheGammelgalopper commented on GitHub (Sep 18, 2017): So I reinstalled Ambar? Because I could not start it anymore... I then changed the language to "ambar_de" before starting it the first time and it worked! Thx!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ambar#78
No description provided.