aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/search.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2020-02-26 22:05:43 -0800
committerBryan Newbold <bnewbold@robocracy.org>2020-02-26 22:05:43 -0800
commitae50ee2274031ddc178fa4a10b59280e8440a24c (patch)
tree5a17d5d5f875ab6ff770c955b25626c6f36d16a8 /python/fatcat_web/search.py
parent1556cdd7f0f5f4bc4fe5ccc9764c1598c852bb9b (diff)
parent81e0784813500a39955c20278140e25d7940d9c6 (diff)
downloadfatcat-ae50ee2274031ddc178fa4a10b59280e8440a24c.tar.gz
fatcat-ae50ee2274031ddc178fa4a10b59280e8440a24c.zip
Merge branch 'bnewbold-elastic-v03b'
Diffstat (limited to 'python/fatcat_web/search.py')
-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"],
},
},
}