| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
These are back-ported fixes from covid19.fatcat.wiki
|
| |
|
|
|
|
|
|
|
|
|
| |
Two new macros:
* top_results(found)
* bottom_results(found)
wip: move pagination into macro
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
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
|