Log in to Freesound

Problems logging in?
Don't have an account? Join now

Problems logging in?

Enter your email or username below and we'll send you a link to help you login into your account.

Back to log in

Almost there!

We've sent a verification link by email

Didn't receive the email? Check your Spam folder, it may have been caught by a filter. If you still don't see it, you can resend the verification email.

Default title

  • Sounds
  • Tags
  • Forum
  • Map
    • Sounds
    • Packs
    • Forum
    • Map
    • Tags
    • Random sound
    • Charts
    • Donate
    • Help

Freesound Forums

  • Freesound Forums
  • Bug Reports, Errors and Feature Requests
  • Text search for "insomniac" with filters has more results than for "insomnia"

Text search for "insomniac" with filters has more results than for "insomnia"

Subscribe

Started September 5th, 2023 · 3 replies · Latest reply by Headphaze 2 years, 3 months ago

C
cosonify

0 sounds

1 post

2 years, 3 months ago
#1

In the text search documentation it says: "Therefore, searching for query=123 will find you sounds with id 1234, sounds that have 1234 in the description, in the tags, etc." (Source: https://freesound.org/docs/api/resources_apiv2.html#text-search)

This sounds like a simple query searches for inclusion of the term, not an exact match. However, trying this out with "insomnia" and "insomniac" I see a different set of non-overlapping search results (with everything else being the same in the two requests).

==========================================================================================
insomnia

curl -H "Authorization: Token " "https://freesound.org/apiv2/search/text/?query=insomnia&filter=duration%3A%5B1.0%20TO%2015.0%5D%20AND%20license%3A%22Creative%20Commons%200%22"

produces 1 result:

{"count":1,"previous":null,"next":null,"results":[{"id":386059,"name":"Insomnia Chimes.wav","tags":["Chimes","Atmosphere","Icy","Ambient","Soundscape","Chilling","Bells"],"license":"http://creativecommons.org/publicdomain/zero/1.0/","username":"bean jamin"}]}

==========================================================================================
insomniac

curl -H "Authorization: Token " "https://freesound.org/apiv2/search/text/?query=insomniac&filter=duration%3A%5B1.0%20TO%2015.0%5D%20AND%20license%3A%22Creative%20Commons%200%22"

produces 3 results:

{"count":3,"previous":null,"next":null,"results":[{"id":261322,"name":"Insomniac Drum Loop.wav","tags":["Bitcrush","Bitcrushed","Room-Drum-Kit","Rhythm","Drum-Kit","Hat","Kick","Full","Spread","Bass","Hip-Hop","Hi","Clap","Drums","Snare","Wide","Stereo","Drum","Drum-Loop","Hi-Hats","Rim-Shot","Hi-Hat","Reverb","Loop","Shot","Distortion","Rim","Distorted","Full-Drum-Loop","Trap"],"license":"http://creativecommons.org/publicdomain/zero/1.0/","username":"Stereo Surgeon"},{"id":261208,"name":"Insomniac Snyth Loop.wav","tags":["arp","simple","Rev","Synth","Test","EDM","electronic","arpeggiated","Loop","synth","Surgeon","electro","minimal","Man","Stereo","Reverse","pluck","dark","techno","Trap","mellow","plucky","Test-Man","Dance","arpeggio","Synth-Loop","Stereo-Surgeon","Hip-hop","Chill","loop"],"license":"http://creativecommons.org/publicdomain/zero/1.0/","username":"Stereo Surgeon"},{"id":261209,"name":"Insomniac Snyth Loop Rev.wav","tags":["arp","simple","Rev","Synth","Test","EDM","electronic","arpeggiated","Loop","synth","Surgeon","electro","minimal","Man","Stereo","Reverse","pluck","dark","techno","Trap","mellow","plucky","Test-Man","Dance","arpeggio","Synth-Loop","Stereo-Surgeon","Hip-hop","Chill","loop"],"license":"http://creativecommons.org/publicdomain/zero/1.0/","username":"Stereo Surgeon"}]}

==========================================================================================

This is slightly inconvenient. Is there any way we can make the search inclusive of the search term rather than an exact match?

klankbeeld

7,295 sounds

2,065 posts

2 years, 3 months ago
#2

I am not a programmer but maybe this forum post helps you how the search works these days

https://freesound.org/forum/production-techniques-music-gear-tips-and-tricks/44217/

The techteam is working very hard and maybe the had no time to work on the manuals???

Good luck

To hear, you first have to listen
Headphaze

347 sounds

3,180 posts

2 years, 3 months ago
#3

Hi cosonify

Please use the dedicated message group for API related stuff. You'll have more luck with getting your questions answered there...

https://groups.google.com/g/freesound-api

Cheers


I am the thing that goes bump in the night...

Freesound Housekeeper
Post reply
About Freesound Terms of use Privacy Cookies Developers Help Donations Blog Freesound Labs Get your t-shirt!
© 2025 Universitat Pompeu Fabra