nyaa/nyaa
TheAMM 60d1570fb5 Preprocess ES terms for better literal matching
This commit adds a new .exact subfield to display_name, which holds a
barely-filtered version of the original title we can do "literal"
matching against. This is not real substring matching, but quoting
terms now actually does something!

Implements a simple preprocessor for the search terms to extract quoted
parts from the search terms, optionally prefixed with - to negate them.
The preprocessor will create a query that'll join all three query-types:
the simple_query_string, must-phrases and must-not-phrases.
2018-04-13 15:04:02 +03:00
..
static Undo responsive table for reports (#444) 2018-02-01 11:35:04 -08:00
templates New help section for IRC and some prod changes I never put in the repo because lazy. 2018-02-22 23:23:53 -08:00
views New help section for IRC and some prod changes I never put in the repo because lazy. 2018-02-22 23:23:53 -08:00
__init__.py Exception handling: include a random string to identify stacks from log 2017-09-02 22:18:32 +03:00
api_handler.py Move bencoded info dicts from mysql torrent_info table to info_dict directory. DB change! 2018-02-02 20:39:02 +01:00
backend.py site-specific changes for new tracker (#453) 2018-02-12 15:52:35 -08:00
bencode.py bencode: fix nontermination on empty or malformed input 2017-07-24 20:53:48 -06:00
email.py [Config change] Password reset by email (#381) 2017-10-08 04:34:40 +03:00
extensions.py Refactor into an app factory [2 of 2] (#322) 2017-08-01 21:02:08 +03:00
forms.py Remove deprecated torrent delete code. 2018-02-16 19:58:31 +01:00
models.py site-specific changes for new tracker (#453) 2018-02-12 15:52:35 -08:00
search.py Preprocess ES terms for better literal matching 2018-04-13 15:04:02 +03:00
template_utils.py Fix keyError from pop (#407) 2017-11-06 23:52:25 +02:00
torrents.py Fix flat PR (#446) 2018-02-04 13:56:29 +01:00
utils.py [Config change] Upload ratelimit for non-trusted uploaders (#384) 2017-10-09 18:41:18 -07:00