summaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/search.py
Commit message (Collapse)AuthorAgeFilesLines
* refactor release and container searchBryan Newbold2020-07-241-75/+199
| | | | | | | | | | Based on fatcat-scholar refactoring. This doesn't include refactoring of stats, aggregates, or histograms yet, just the direct queries. Don't have any test coverage yet; intend to try elasticmock or figuring out how to ingest mock JSON results directly.
* web search: fix pylint errorBryan Newbold2020-07-241-2/+2
|
* WIP: refactoring search to use elasticsearch-dslBryan Newbold2020-07-241-152/+133
|
* lint (flake8) web interface python filesBryan Newbold2020-07-011-2/+1
|
* Correct spelling mistakesEdward Betts2020-03-271-1/+1
|
* new biblio-only general searchBryan Newbold2020-01-291-2/+2
| | | | The other fields are now "copy_to" the merged biblio field.
* Add basic pagination to search resultsMartin Czygan2019-11-081-9/+18
| | | | | | | | | | | | The "deep paging problem" imposes some limit, which currently is a hardcoded default value, `deep_page_limit=2000` in `do_search`. Elasticsearch can be configured, too: > Note that from + size can not be more than the index.max_result_window index setting, which defaults to 10,000. -- https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-body.html#request-body-search-from-size
* remove coverage debug statementsBryan Newbold2019-09-041-10/+0
|
* finish container coverage pageBryan Newbold2019-09-041-1/+11
| | | | Also re-worked container view sidebar a bit more.
* start container coverage pageBryan Newbold2019-09-041-1/+67
|
* include example releases on container landing pageBryan Newbold2019-09-031-0/+43
| | | | | Included making release search results an entity macro (in webface templates).
* web search: container_id, not _identBryan Newbold2019-08-221-1/+1
|
* include in_kbart container countBryan Newbold2019-08-121-0/+2
|
* default container stats by ident, not issnlBryan Newbold2019-08-121-4/+5
|
* add kbart counts to container statsBryan Newbold2019-07-311-0/+1
|
* remove leftover debug print statementBryan Newbold2019-03-111-1/+1
|
* bunch of lint/whitespace cleanupsBryan Newbold2019-02-221-12/+12
|
* add general and container-specific statsBryan Newbold2019-02-221-1/+133
|
* refactor entity searchesBryan Newbold2019-02-201-64/+52
|
* add container searchBryan Newbold2019-02-201-1/+54
| | | | | | | And tweak release search a bit: DOIs aren't auto-replaced unless they are the only word/query This query code is very duplicative and should be refactored
* add flash to 400 error pagesBryan Newbold2019-02-051-2/+6
|
* fix fulltext flag in search page (ES schema changed)Bryan Newbold2019-02-051-1/+1
|
* more ES index fixesBryan Newbold2019-01-281-1/+1
|
* partially revert raise_for_status() refactorBryan Newbold2019-01-081-1/+0
| | | | Doesn't work with Flask wrapper, of course.
* check request status codes idiomaticallyBryan Newbold2018-12-291-0/+1
|
* remove textIcuSearch elastic filterBryan Newbold2018-12-031-1/+0
| | | | | | | This was breaking, eg, DOI search with non-trivial characters. Because we set the tokenizer on individual fields, shouldn't be necessary on the whole query.
* ELASTICSEARCH not ELASTICBryan Newbold2018-11-211-1/+1
|
* large refactor of python names/pathsBryan Newbold2018-11-151-0/+4
| | | | | | | - Add __init__.py files for fatcat_tools submodules, and use them in imports - Add a bunch of comments to files. - rename a number of classes and functions to be less verbose
* get webface working againBryan Newbold2018-11-121-1/+1
|
* refactor python modulesBryan Newbold2018-11-121-0/+60