mirror of
https://gitlab.com/SIGBUS/nyaa.git
synced 2024-12-22 08:40:00 +00:00
Fixes #227
This commit is contained in:
parent
0a12db74d0
commit
535be9c8bd
|
@ -22,6 +22,7 @@ settings:
|
|||
- lowercase
|
||||
- my_ngram
|
||||
- word_delimit
|
||||
- trim_zero
|
||||
filter:
|
||||
my_ngram:
|
||||
type: edgeNGram
|
||||
|
@ -30,6 +31,9 @@ settings:
|
|||
resolution:
|
||||
type: pattern_capture
|
||||
patterns: ["(\\d+)[xX](\\d+)"]
|
||||
trim_zero:
|
||||
type: pattern_capture
|
||||
patterns: ["0*([0-9]*)"]
|
||||
word_delimit:
|
||||
type: word_delimiter
|
||||
preserve_original: true
|
||||
|
|
Loading…
Reference in a new issue