cern-search-rest-api issueshttps://gitlab.cern.ch/webservices/cern-search/cern-search-rest-api/-/issues2022-03-17T16:04:33+01:00https://gitlab.cern.ch/webservices/cern-search/cern-search-rest-api/-/issues/110Fix sorting order2022-03-17T16:04:33+01:00Carina AntunesFix sorting orderCheck indico which is fixedCheck indico which is fixedhttps://gitlab.cern.ch/webservices/cern-search/cern-search-rest-api/-/issues/90Logging: Debug logs broken inside docker / oc2019-11-21T11:24:03+01:00Carina AntunesLogging: Debug logs broken inside docker / ocFlags don't seem to work. Investigate and fix.Flags don't seem to work. Investigate and fix.https://gitlab.cern.ch/webservices/cern-search/cern-search-rest-api/-/issues/84global: linux incompatibilities2020-06-11T16:11:40+02:00Pablo Panero Vazquezglobal: linux incompatibilities* Docker-compose version is set to 3.7, the dockerfile is compatible with at leas 2.3 lower.
- Shall we provide support for 2.x? (The whole Invenio framework still users 2.
* `shell` might not be available in all systems.
- Requi...* Docker-compose version is set to 3.7, the dockerfile is compatible with at leas 2.3 lower.
- Shall we provide support for 2.x? (The whole Invenio framework still users 2.
* `shell` might not be available in all systems.
- Require it or avoid using it
- `/scripts/pipenv/requirements.sh` might crash if the command is run in another shell since `[[` is not always available (see [here](https://stackoverflow.com/questions/12230690/string-comparison-in-bash-not-found/12230723))https://gitlab.cern.ch/webservices/cern-search/cern-search-rest-api/-/issues/67edms: query relevance debugging2021-07-14T15:19:43+02:00Pablo Panero Vazquezedms: query relevance debuggingSome queries do not produce the expected results:
**EDMS dev**
``` console
?access=en-dep-ace-plm@cern.ch&q=NOT-0010+AND+_data.object_type:D+AND+_data.obsolete:false&size=100
```
Returns the firsts results just with ``NOT`` in the tit...Some queries do not produce the expected results:
**EDMS dev**
``` console
?access=en-dep-ace-plm@cern.ch&q=NOT-0010+AND+_data.object_type:D+AND+_data.obsolete:false&size=100
```
Returns the firsts results just with ``NOT`` in the title (e.g. 59355). However, records such as 142684 containing ``NOT-0010`` appear much later in the results (having to set up size=100 to see it).
``` console
?access=en-dep-ace-plm@cern.ch&q=(_data.author.full_name:(nikitas.kotsolakos@cern.ch)+OR+_data.author.email:(nikitas.kotsolakos@cern.ch))+AND+_data.object_type:D+AND+_data.obsolete:false&page=1&size=100
```
First returns results with no match, then the revers ``kotsolakos.nikitas@cern.ch`` and only later on some with the queried email.https://gitlab.cern.ch/webservices/cern-search/cern-search-rest-api/-/issues/65docs [internal]: add pipeline updates to datamodel update procedure2019-09-13T16:11:30+02:00Pablo Panero Vazquezdocs [internal]: add pipeline updates to datamodel update procedurehttps://gitlab.cern.ch/webservices/cern-search/cern-search-rest-api/-/issues/64edms: issues with bulk indexing2019-09-13T16:11:38+02:00Pablo Panero Vazquezedms: issues with bulk indexinguWSGI get slow in bulk indexing, then nginx closes the connection. Generating an error mentioned [here](https://github.com/unbit/uwsgi/issues/1623)
Maybe related with [this](https://github.com/cernopendata/opendata.cern.ch/pull/2428/com...uWSGI get slow in bulk indexing, then nginx closes the connection. Generating an error mentioned [here](https://github.com/unbit/uwsgi/issues/1623)
Maybe related with [this](https://github.com/cernopendata/opendata.cern.ch/pull/2428/commits) issue of CERN OpenDatahttps://gitlab.cern.ch/webservices/cern-search/cern-search-rest-api/-/issues/59edms: index backward slash2019-09-13T16:12:26+02:00Pablo Panero Vazquezedms: index backward slash- When querying all special characters must be escaped [docs](https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html#_reserved_characters).
- When indexing, they just need to be encoded.
Howeve...- When querying all special characters must be escaped [docs](https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html#_reserved_characters).
- When indexing, they just need to be encoded.
However, \ breaks the indexing. There is an strange case when putting quotes right after (e.g. "field":"value \""), but the indexed value will also contain that quote.
Needs debugging.https://gitlab.cern.ch/webservices/cern-search/cern-search-rest-api/-/issues/43Undo cfe1fe3d1aba819d240acbb6a7bfe79678f82ee52019-06-04T09:27:34+02:00Pablo Panero VazquezUndo cfe1fe3d1aba819d240acbb6a7bfe79678f82ee5Undo cfe1fe3d1aba819d240acbb6a7bfe79678f82ee5 when docker-invenio fixes 3.6 base image conflicts (https://github.com/inveniosoftware/docker-invenio/pull/23)Undo cfe1fe3d1aba819d240acbb6a7bfe79678f82ee5 when docker-invenio fixes 3.6 base image conflicts (https://github.com/inveniosoftware/docker-invenio/pull/23)Pablo Panero VazquezPablo Panero Vazquezhttps://gitlab.cern.ch/webservices/cern-search/cern-search-rest-api/-/issues/16Avoid matadata fields being indexed for search2019-02-01T16:19:54+01:00Pablo Panero VazquezAvoid matadata fields being indexed for searchAvoid the ``$schema`` and ``_access`` fields from being used for search purposes (indexed). ``include_in_all`` has been deprecated as of ES5.Avoid the ``$schema`` and ``_access`` fields from being used for search purposes (indexed). ``include_in_all`` has been deprecated as of ES5.Pablo Panero VazquezPablo Panero Vazquezhttps://gitlab.cern.ch/webservices/cern-search/cern-search-rest-api/-/issues/85XX Error given by the WebUI due to non existing file.2018-11-16T08:47:19+01:00Pablo Panero Vazquez5XX Error given by the WebUI due to non existing file.Since version 0.5.3 there is an error that makes web UI crash.
```
IOError: [Errno 2] No such file or directory: '/usr/local/var/cernsearch/var/cernsearch-instance/static/dist/manifest.json'
```
Sentry error logs: [issue 137](https://t...Since version 0.5.3 there is an error that makes web UI crash.
```
IOError: [Errno 2] No such file or directory: '/usr/local/var/cernsearch/var/cernsearch-instance/static/dist/manifest.json'
```
Sentry error logs: [issue 137](https://test-cern-search-sentry.web.cern.ch/sentry/cern-search-rest-api-client/issues/137/) and [issue 135](https://test-cern-search-sentry.web.cern.ch/sentry/cern-search-rest-api-client/issues/135/).Pablo Panero VazquezPablo Panero Vazquez2018-11-30