diff options
author | Bryan Newbold <bnewbold@archive.org> | 2020-08-06 12:32:59 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2020-08-06 12:33:01 -0700 |
commit | b33f69d92dbdfbf1be15521bf1893c053765a580 (patch) | |
tree | 016f2ea848d65fd186abd9a48f7e9679aa9be96f /schema/scholar_fulltext.v01.json | |
parent | 8611d4cfd348b57120f936c064e9591c419a7ace (diff) | |
download | fatcat-scholar-b33f69d92dbdfbf1be15521bf1893c053765a580.tar.gz fatcat-scholar-b33f69d92dbdfbf1be15521bf1893c053765a580.zip |
enable index_phrases on everything, biblio_all, title_all
Want phrase queries to be faster. Expect this to increase term index
size, requiring more disk space.
Diffstat (limited to 'schema/scholar_fulltext.v01.json')
-rw-r--r-- | schema/scholar_fulltext.v01.json | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/schema/scholar_fulltext.v01.json b/schema/scholar_fulltext.v01.json index a759d8f..595356e 100644 --- a/schema/scholar_fulltext.v01.json +++ b/schema/scholar_fulltext.v01.json @@ -210,11 +210,9 @@ } }, - "everything": { "type": "text", "index": true, "analyzer": "textIcu", "search_analyzer":"textIcuSearch" }, - "biblio_all": { - "type": "text", "index": true, "analyzer": "textIcu", "search_analyzer":"textIcuSearch", - "fields": {"exact": { "type": "text", "analyzer": "textIcuExact", "search_analyzer": "textIcuSearchExact" }} - }, + "everything": { "type": "text", "index": true, "index_phrases": true, "analyzer": "textIcu", "search_analyzer":"textIcuSearch" }, + "biblio_all": { "type": "text", "index": true, "index_phrases": true, "analyzer": "textIcu", "search_analyzer":"textIcuSearch" }, + "title_all": { "type": "text", "index": true, "index_phrases": true, "analyzer": "textIcu", "search_analyzer":"textIcuSearch" }, "doctype": { "type": "alias", "path": "doc_type" }, "tag": { "type": "alias", "path": "tags" }, |