linkedpipes / dcat-ap-viewer

Viewer of DCAT-AP 2.0.1 compatible dataset metadata
MIT License
6 stars 6 forks source link

Autocomplete not working correctly #152

Closed jakubklimek closed 5 years ago

jakubklimek commented 5 years ago

When typing registr práv a povinností in the dataset search box, no dataset is suggested. Nevertheless, when I hit enter, matching datasets are found. These should be suggested, otherwise, it seems that they are not there.

jakubklimek commented 5 years ago

It works better, but still not with "základní výkres" ("základní výk" shows nothing). Interesting that it works differently at data.gov.cz and nkod-test.opendata.cz (both solr 8.0.0).

skodapetr commented 5 years ago

Well if same version of solar is used, then it's ops problem.

jakubklimek commented 5 years ago

Well if same version of solar is used, then it's ops problem.

The current DAV was not redeployed there. It is now.

Nevertheless, there is still an autocomplete issue.

Trying to find základní výk, the autocomplete is empty even though the Solr query returns results.

skodapetr commented 5 years ago

The used Highlighter component does not support matching in this case. It use <mark className="rbt-highlight-text">Základní vý</mark> to highlight.

We can either implement custom highlight or disable it.