ArcheTorrent: improve search (#2119)

* ArcheTorrent - Better search

* ArcheTorrent - Better search v2

ArcheTorrent - Better search v2
This commit is contained in:
Ellmout
2017-11-13 13:04:24 +01:00
committed by kaso17
parent 30ac099653
commit 47f53ab47f

View File

@@ -78,6 +78,13 @@
path: torrents-search.php
search:
keywordsfilters:
- name: replace
args: ["-", " "] # remove special search character (negative search)
- name: replace
args: ["+", " "] # remove special search character (positive search)
- name: re_replace
args: ["(\\w+)", " +$1"] # prepend + to each word
paths:
- path: torrents-search.php
inputs:
@@ -133,4 +140,4 @@
"*": "1"
uploadvolumefactor:
case:
"*": "1"
"*": "1"