1
0
Fork 0
mirror of https://gitlab.com/SIGBUS/nyaa.git synced 2024-12-22 03:49:59 +00:00
This commit is contained in:
aldacron 2017-06-04 23:03:32 -07:00
parent 0a12db74d0
commit 535be9c8bd

View file

@ -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