summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2020-01-29 23:54:17 -0800
committerBryan Newbold <bnewbold@robocracy.org>2020-01-29 23:54:27 -0800
commit749295a16dd18aa64b87f6b7c3e0e6052931161a (patch)
tree45484904fb88b9dc041909b1205eab52e565745e
parente98f389a53d886b4fa8f0237b90b086999770f78 (diff)
downloadfatcat-749295a16dd18aa64b87f6b7c3e0e6052931161a.tar.gz
fatcat-749295a16dd18aa64b87f6b7c3e0e6052931161a.zip
new biblio-only general search
The other fields are now "copy_to" the merged biblio field.
-rw-r--r--python/fatcat_web/search.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat_web/search.py b/python/fatcat_web/search.py
index 7c60a6dd..6b2b9cc1 100644
--- a/python/fatcat_web/search.py
+++ b/python/fatcat_web/search.py
@@ -77,7 +77,7 @@ def do_release_search(q, limit=30, fulltext_only=True, offset=0):
"default_operator": "AND",
"analyze_wildcard": True,
"lenient": True,
- "fields": ["title^5", "contrib_names^2", "container_title"],
+ "fields": ["biblio"],
},
},
}
@@ -106,7 +106,7 @@ def do_container_search(q, limit=30, offset=0):
"default_operator": "AND",
"analyze_wildcard": True,
"lenient": True,
- "fields": ["name^5", "publisher"],
+ "fields": ["biblio"],
},
},
}