View Issue Details

IDProjectCategoryView StatusLast Update
4749Composrcorepublic2021-12-26 09:02
ReporterAdam Edington Assigned ToChris Graham  
PrioritynormalSeveritytrivial 
Status resolvedResolutionfixed 
Product Version10.0.39 
Fixed in Version10.0.40 
Summary4749: Search does not calculate entries or pagination correctly
DescriptionI am not sure if this is a Search issue, or a Meta tags issue but I have a fair number of entries with a shared tag. Searching for this tag gives approximately 217 results yet fails to show more than 10 (I very much doubt there are 217 entries using the tag). Clicking page 2 of the pagination reveals an empty page and that's been this way forever (localhost or live). I've mentioned this before and it was said that I would need several entries for it to work (or so I recall, perhaps badly). There are enough entries but the Search isn't really interested in returning them. The issue does seem to come from following Meta tag links, normal searching seems to work okay.
TagsNo tags attached.
Attach Tags
Attached Files
Time estimation (hours)
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

admin

2021-12-25 04:28

administrator   ~7215

Automated response: Search result counts could be deduplicated

Various issues can cause result counts to multiply up, particularly for catalogues.
Fix some of these issues as best as can be.

admin

2021-12-25 04:28

administrator   ~7216

Fixed in git commit e48470ebc (https://gitlab.com/composr-foundation/composr/commit/e48470ebc - link will become active once code pushed to GitLab)

A hotfix (a TAR of files to upload) has been uploaded to this issue. These files are made to the latest intra-version state (i.e. may roll in earlier fixes too if made to the same files) - so only upload files newer than what you have already. If there are files in a hot-fix that you don't have then they probably relate to addons that you don't have installed and should be skipped. Always take backups of files you are replacing or keep a copy of the manual installer for your version, and only apply fixes you need. These hotfixes are not necessarily reliable or well supported. Not sure how to extract TAR files to your Windows computer? Try 7-zip (http://www.7-zip.org/).

Chris Graham

2021-12-25 04:29

administrator   ~7217

OK, hopefully this fixed it. With catalogue search it was re-finding the entries for each individual field in the entry, if the metadata matched.
It's complicated replicated to how SQL and fulltext search works, it's not always the best at this kind of thing.

Adam Edington

2021-12-26 09:02

administrator   ~7223

Much better now, approximations are highly accurate and when pagination is needed there are actually search results to be witnessed. Thanks.

Issue History

Date Modified Username Field Change
2021-12-24 21:34 Adam Edington New Issue
2021-12-24 21:36 Adam Edington Description Updated
2021-12-25 04:29 Chris Graham Note Added: 0007217
2021-12-26 09:02 Adam Edington Note Added: 0007223