Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Inexplicable search failures #6630

Closed
grahamperrin opened this issue Jan 4, 2020 · 5 comments
Closed

Inexplicable search failures #6630

grahamperrin opened this issue Jan 4, 2020 · 5 comments

Comments

@grahamperrin
Copy link

grahamperrin commented Jan 4, 2020

Seeking GetTogether in https://riot.im/app/#/room/#freenode_#lobsters:matrix.org does not find recently posted https://matrix.to/#/!XMCeiYjoZpFFyvICGb:matrix.org/$15781093891822058UPZrT:matrix.org?via=matrix.org

i’d heard about https://github.com/GetTogetherComm/GetTogether

[ GitHub - GetTogetherComm/GetTogether: Event manager for local community events ] - github.com

I see https://github.com/vector-im/riot-web/issues/4486 and element-hq/element-web#3024 relating to URL strings so I tried an alternative search, for a string that is both in and not in the context of the URL:

GetTogetherComm/GetTogether

– again, No results.

Third attempt:

GetTogetherComm/GetTogether:

– again, No results.

@richvdh
Copy link
Member

richvdh commented Jan 9, 2020

The body of this event is:

i’d heard about https://github.com/GetTogetherComm/GetTogether

(note that the URL preview you're seeing is dynamic; it is not part of the searchable content)

This has been tokenised by the search indexer as:

'/gettogethercomm/gettogether':6 'github.com':5 'github.com/gettogethercomm/gettogether':4 'heard':2 'i’d':1

Searching for /GetTogetherComm/GetTogether will find the event, I think.

I think this is basically a duplicate of element-hq/element-web#3024.

@richvdh richvdh closed this as completed Jan 9, 2020
@grahamperrin
Copy link
Author

Thanks,

Searching for /GetTogetherComm/GetTogether will find the event, I think.

Nope.

(note that the URL preview you're seeing is dynamic; it is not part of the searchable content)

Nope, URL previews were and are disabled:

image

@richvdh
Copy link
Member

richvdh commented Jan 9, 2020

oh right, those are two separate events. Do you have the event id for the second one?

@grahamperrin
Copy link
Author

@richvdh
Copy link
Member

richvdh commented Jan 15, 2020

matrix=> select vector from event_search where event_id='$15781093891822059tDfem:matrix.org';
                                                 vector                                                  
---------------------------------------------------------------------------------------------------------
 'communiti':7 'event':3,8 'gettogethercomm/gettogether':2 'github':1 'github.com':9 'local':6 'manag':4

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants