ukwa / ukwa-ui

A new user interface for the UK Web Archive
BSD 3-Clause "New" or "Revised" License
0 stars 6 forks source link

Results = 0 but results include a result #284

Closed jasonwebber-bl closed 3 years ago

jasonwebber-bl commented 4 years ago

I've put in a search www.oldkentmaps.co.uk and the results page says '0 results' but the top result is the correct website.

Screenshot 2020-09-10 at 10 38 57
min2ha commented 4 years ago

Other search cases: same for 'oldkentmaps.co.uk' and no results at all for 'oldkentmaps'

Need to check the data structure related to web site 'oldkentmaps.co.uk', how it is presented on SOLR side, because source code is clear and no obvious reasons to change anything: https://github.com/ukwa/ukwa-ui/blob/e3bc8e7b1afc66f7e6159ae67f24eb47c1a46753/src/main/java/com/marsspiders/ukwa/controllers/SearchController.java#L180

But I might be wrong. Hope to find some workaround.

jasonwebber-bl commented 3 years ago

Looking on the live site, this seems to have resolved (in this example at least). Note: the search on dev doesn't return this site at all.

https://www.webarchive.org.uk/en/ukwa/search?view_filter=vool&content_type=Web+Page&from_date=&to_date=&modal_filter_domains_vals=&modal_filter_suffix_vals=&modal_filter_documenttypes_vals=&modal_filter_collections_vals=&filter_source=1&filter_array_x=&filter_array_x_item=&search_location=full_text&text=https%3A%2F%2Fwww.oldkentmaps.co.uk&view_sort=relevant&view_count=50

min2ha commented 3 years ago

Related to https://github.com/ukwa/ukwa-ui/issues/253