Closed
Bug 674810
Opened 15 years ago
Closed 15 years ago
[amo-dev] Update elasticsearch config
Categories
(Infrastructure & Operations Graveyard :: WebOps: Other, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jbalogh, Assigned: oremj)
Details
Attachments
(1 file)
|
540 bytes,
text/plain
|
Details |
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.
| Reporter | ||
Comment 1•15 years ago
|
||
| Assignee | ||
Updated•15 years ago
|
Assignee: server-ops → jeremy.orem+bugs
| Assignee | ||
Comment 2•15 years ago
|
||
Added.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 3•15 years ago
|
||
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 → ---
| Assignee | ||
Comment 4•15 years ago
|
||
I restarted it again.
| Assignee | ||
Comment 5•15 years ago
|
||
Fixed this up.
Status: REOPENED → RESOLVED
Closed: 15 years ago → 15 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Updated•7 years ago
|
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•