Update search index, interface issues
- Fix token list export links in search results
Fix #1641 (closed) - Fix upper limit of search paginator
See #1535 - Remove paginator params from search share URL
- Update atf, genre comments index in search
Fix #1184 (closed), #1542 (closed), #1567 (closed), #1569 (closed), #1624 (closed), #1649 (closed)
Preparing for tests:
- Remove current index:
curl -X DELETE http://elasticsearch@localhost:9200/artifacts
- Re-index
Testing:
- Go to http://localhost:2354/search?f%5Bprovenience%5D%5B%5D=Larsa+%28mod.+Tell+as-Senkereh%29, try to download all four types of token lists
- Go to http://localhost:2354/search, click to go to the last page
- Go to http://localhost:2354/search?f%5Bprovenience%5D%5B%5D=Larsa+%28mod.+Tell+as-Senkereh%29&page=2, check the share URL does not have page
- Go to http://localhost:2354/search, check that the translation and translation language filters are working
- Go to http://localhost:2354/search/advanced, search for "king" in translation and check there are results (http://localhost:2354/search?atf_translation_text=king)
- Go to http://localhost:2354/search/advanced, search for
ki %AND% ma
in transliteration with single-line mode (http://localhost:2354/search?atf_transliteration=ki+%25AND%25+ma&atf_transliteration_mode=line) - Go to http://localhost:2354, search for "messenger text" in free text (http://localhost:2354/search?simple-value%5B%5D=messenger+text&simple-field%5B%5D=keyword)
- Go to http://localhost:2354/search/advanced, search for "surface" in atf structure (http://localhost:2354/search?atf_structure=surface)
- (Switch to compact layout and check the transliteration fragments)
- Go to http://localhost:2354/search/advanced, search for "version" in atf comments (http://localhost:2354/search?atf_comments=version)
- (Switch to compact layout and check the transliteration fragments)