Closed Bug 674810 Opened 15 years ago Closed 15 years ago

[amo-dev] Update elasticsearch config

Categories

(Infrastructure & Operations Graveyard :: WebOps: Other, task)

All
Other
task
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jbalogh, Assigned: oremj)

Details

Attachments

(1 file)

Please add the following to config/elasticsearch.yml: index: analysis: analyzer: standardPlusWordDelimiter: type: custom tokenizer: standard filter: [standard, wordDelim, lowercase, stop, dict] filter: wordDelim: type: word_delimiter preserve_original: true dict: type: dictionary_decompounder word_list_path: wordlist.txt The attached wordlist.txt is referenced in word_list_path. It can go in the config directory, or it can be anywhere on the filesystem if you change word_list_path to an absolute path. ES needs to be restarted after this is added.
Attached file wordlist —
Assignee: server-ops → jeremy.orem+bugs
Added.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Did elastic get restarted? I get this error on dev and stage: Aug 4 15:53:03 dev1.addons.phx1.mozilla.com: [][] z.es:ERROR Analyzer [standardPlusWordDelimiter] not found for field [name] :/data/www/addons-dev.allizom.org/zamboni/apps/addons/search.py:88
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
I restarted it again.
Fixed this up.
Status: REOPENED → RESOLVED
Closed: 15 years ago → 15 years ago
Resolution: --- → FIXED
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: