From dee508d46c916caa5080da87a264347479576dd2 Mon Sep 17 00:00:00 2001 From: John Nduli Date: Wed, 19 Jun 2024 20:53:53 +0300 Subject: fix: use correct prefix and index key; group wiki cache query --- gn3/api/search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gn3/api') diff --git a/gn3/api/search.py b/gn3/api/search.py index b3e67cd..588e11d 100644 --- a/gn3/api/search.py +++ b/gn3/api/search.py @@ -212,7 +212,7 @@ def parse_query(synteny_files_directory: Path, query: str): queryparser.add_boolean_prefix("peakchr", "XPC") queryparser.add_prefix("description", "XD") queryparser.add_prefix("rif", "XRF") - queryparser.add_prefix("wikidata", "XRWD") + queryparser.add_prefix("wiki", "XWK") range_prefixes = ["mean", "peak", "position", "peakmb", "additive", "year"] for i, prefix in enumerate(range_prefixes): # Treat position specially since it needs its own field processor. -- cgit v1.2.3