element-desktop
element-desktop copied to clipboard
Search failed: unable to search URL in All Rooms
I got
Search failed
Index error: An invalid argument was passed: 'Query is invalid. FieldDoesNotExist("https")'
trying to search https://github.com
in All Rooms
while for This Room
it works fine.
riot-electron 1.6.4 from https://packages.riot.im/debian sid
:+1: Still reproducible in Element 1.7.31.

Having this issue in searching with v1.9.0 - The FieldDoesNotExist
error is returned for any "All Rooms" query that contains a :
colon, not just URLs.
Searching a single room won't throw the error, but won't show the expected result either.
The search returns a "No results" message for me at the moment both for This Room and All Rooms.
Related
- https://github.com/element-hq/element-desktop/issues/913
- https://github.com/element-hq/element-desktop/issues/1118
- https://github.com/matrix-org/matrix-react-sdk/pull/8191
You can work around this by wrapping your search query in quotes "
.
E.g. "https://github.com
instead of https://github.com
.