Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search by tag and tag substring returns no results #109

Open
mrkvon opened this issue May 17, 2024 · 0 comments
Open

Search by tag and tag substring returns no results #109

mrkvon opened this issue May 17, 2024 · 0 comments

Comments

@mrkvon
Copy link

mrkvon commented May 17, 2024

Hello!

Bug

When I send REQ with #t: ['photography'], I receive plenty of results. But if I send #t: ['photography', 'photogr'], the results are empty. For some reason, the unmatched substring tag cancels matched full tag.

Sending REQ #t: ['photo', 'photography'] returns results with photo tag, results with both tags, but doesn't return results with photography only.

The same happened with #g tag (geohash).

Expected results

When I send REQ with #t: ['photography', 'photogr'], I would expect to receive events with ['t': 'photography'] tag.

Context

I tested and reproduced this issue against relays wss://relay.damus.io, wss://nostr.wine, wss://relayable.org with issues.
Tested against wss://lightningrelay.com which uses different software, without issues.

It looks like the issue is with this software, but I'm not sure.

Used nostr-tools to send the requests.

Thank you!

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

No branches or pull requests

1 participant