Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | search: more ES 7.x changes (track total counts) | Bryan Newbold | 2021-04-09 | 1 | -0/+11 |
| | |||||
* | search container stats: changes to be called from index code path | Bryan Newbold | 2021-04-06 | 1 | -3/+10 |
| | | | | Eg, allowing injection of more config values | ||||
* | web search: ES 6+7 compatibliity | Bryan Newbold | 2021-04-06 | 1 | -9/+21 |
| | | | | Based on the similar changes made in fatcat-scholar | ||||
* | search: exception info is optional | Martin Czygan | 2021-03-16 | 1 | -1/+1 |
| | | | | | | | | | docs ("where available") and example: * https://elasticsearch-py.readthedocs.io/en/v7.11.0/exceptions.html#elasticsearch.TransportError * https://github.com/elastic/elasticsearch-py/blob/4441da0cbc4ecd02c81b93830b1318647b4018f9/elasticsearch/exceptions.py#L85 sentry-id: 79943 | ||||
* | handle no-volumes coverage | Bryan Newbold | 2021-02-24 | 1 | -5/+6 |
| | | | | Instead of an error (iframe-like), shows a blank "no data" chart. | ||||
* | coverage: handle the case of hits, but none with years | Bryan Newbold | 2020-09-17 | 1 | -4/+5 |
| | |||||
* | control shadow preservation display with a flag | Bryan Newbold | 2020-07-30 | 1 | -0/+22 |
| | |||||
* | search: 'recent' mode for coverage search | Bryan Newbold | 2020-07-30 | 1 | -1/+85 |
| | |||||
* | first iteration of flexible search coverage | Bryan Newbold | 2020-07-30 | 1 | -0/+36 |
| | |||||
* | make some ES agg methods work on general queries | Bryan Newbold | 2020-07-30 | 1 | -29/+51 |
| | | | | | | | Eg, instead of container-specific year histogram, have the histogram fetch function take a ReleaseQuery. This is in preparation for more generic coverage visualization pages. | ||||
* | lint coverage changes (so far) | Bryan Newbold | 2020-07-30 | 1 | -1/+1 |
| | |||||
* | update container view stats | Bryan Newbold | 2020-07-30 | 1 | -5/+5 |
| | | | | | | - show release type counts - new-style preservation status (single bar) - show release_type preservation break down on coverage page | ||||
* | preservation coverage updates (first round) | Bryan Newbold | 2020-07-30 | 1 | -5/+177 |
| | | | | | | | | | | - new by-year chart with stacked histograms of all 4 preservation statuses - new-style single progress bar showing overall preservation status - new by-volume query and chart Old endpoints are left as-is, with the intention of having them "deprecated" for some time span until entirely removing them. | ||||
* | include new-style preservation+release_type aggs in container stats | Bryan Newbold | 2020-07-30 | 1 | -4/+35 |
| | |||||
* | search: catch ES errors and display better | Bryan Newbold | 2020-07-28 | 1 | -4/+18 |
| | |||||
* | include container_id as a query boost term | Bryan Newbold | 2020-07-28 | 1 | -0/+1 |
| | |||||
* | re-order search params to satisfy pylint | Bryan Newbold | 2020-07-24 | 1 | -6/+6 |
| | | | | | | Moved all the request_cache=True param calls to just before ES request exectuation. The former ordering "just worked", but pylint didn't like it, and I suspose it was not as idiomatic as it should have been. | ||||
* | small lint fixes | Bryan Newbold | 2020-07-24 | 1 | -2/+1 |
| | |||||
* | finish backend refactoring of search code | Bryan Newbold | 2020-07-24 | 1 | -133/+108 |
| | |||||
* | refactor release and container search | Bryan Newbold | 2020-07-24 | 1 | -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 error | Bryan Newbold | 2020-07-24 | 1 | -2/+2 |
| | |||||
* | WIP: refactoring search to use elasticsearch-dsl | Bryan Newbold | 2020-07-24 | 1 | -152/+133 |
| | |||||
* | lint (flake8) web interface python files | Bryan Newbold | 2020-07-01 | 1 | -2/+1 |
| | |||||
* | Correct spelling mistakes | Edward Betts | 2020-03-27 | 1 | -1/+1 |
| | |||||
* | new biblio-only general search | Bryan Newbold | 2020-01-29 | 1 | -2/+2 |
| | | | | The other fields are now "copy_to" the merged biblio field. | ||||
* | Add basic pagination to search results | Martin Czygan | 2019-11-08 | 1 | -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 statements | Bryan Newbold | 2019-09-04 | 1 | -10/+0 |
| | |||||
* | finish container coverage page | Bryan Newbold | 2019-09-04 | 1 | -1/+11 |
| | | | | Also re-worked container view sidebar a bit more. | ||||
* | start container coverage page | Bryan Newbold | 2019-09-04 | 1 | -1/+67 |
| | |||||
* | include example releases on container landing page | Bryan Newbold | 2019-09-03 | 1 | -0/+43 |
| | | | | | Included making release search results an entity macro (in webface templates). | ||||
* | web search: container_id, not _ident | Bryan Newbold | 2019-08-22 | 1 | -1/+1 |
| | |||||
* | include in_kbart container count | Bryan Newbold | 2019-08-12 | 1 | -0/+2 |
| | |||||
* | default container stats by ident, not issnl | Bryan Newbold | 2019-08-12 | 1 | -4/+5 |
| | |||||
* | add kbart counts to container stats | Bryan Newbold | 2019-07-31 | 1 | -0/+1 |
| | |||||
* | remove leftover debug print statement | Bryan Newbold | 2019-03-11 | 1 | -1/+1 |
| | |||||
* | bunch of lint/whitespace cleanups | Bryan Newbold | 2019-02-22 | 1 | -12/+12 |
| | |||||
* | add general and container-specific stats | Bryan Newbold | 2019-02-22 | 1 | -1/+133 |
| | |||||
* | refactor entity searches | Bryan Newbold | 2019-02-20 | 1 | -64/+52 |
| | |||||
* | add container search | Bryan Newbold | 2019-02-20 | 1 | -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 pages | Bryan Newbold | 2019-02-05 | 1 | -2/+6 |
| | |||||
* | fix fulltext flag in search page (ES schema changed) | Bryan Newbold | 2019-02-05 | 1 | -1/+1 |
| | |||||
* | more ES index fixes | Bryan Newbold | 2019-01-28 | 1 | -1/+1 |
| | |||||
* | partially revert raise_for_status() refactor | Bryan Newbold | 2019-01-08 | 1 | -1/+0 |
| | | | | Doesn't work with Flask wrapper, of course. | ||||
* | check request status codes idiomatically | Bryan Newbold | 2018-12-29 | 1 | -0/+1 |
| | |||||
* | remove textIcuSearch elastic filter | Bryan Newbold | 2018-12-03 | 1 | -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 ELASTIC | Bryan Newbold | 2018-11-21 | 1 | -1/+1 |
| | |||||
* | large refactor of python names/paths | Bryan Newbold | 2018-11-15 | 1 | -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 again | Bryan Newbold | 2018-11-12 | 1 | -1/+1 |
| | |||||
* | refactor python modules | Bryan Newbold | 2018-11-12 | 1 | -0/+60 |