INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Wildcard in search field  (Read 687 times)

jack wallstreet

  • Citizen of the Universe
  • *****
  • Posts: 522
Wildcard in search field
« on: February 17, 2023, 03:08:26 pm »

When I use a simple search or even the drop down options in the simple search, there does not seem to be a wildcard character, e.g. find all files (or artists or albums) that start with "When I fall...."  I have checked the wiki and there doesn't appear to be a (non search language) way to add a wildcard at end of search.  Maybe this can be an enhancement, unless I am missing something in the awesome capabilities of MC.   (It would be okay if the wildcard included all items such as files, artists, albums)
Logged
John

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2620
Re: Wildcard in search field
« Reply #1 on: February 17, 2023, 03:42:31 pm »

The default search is "contains", ie, files that contain your search text in one of the common search fields.
You can search for things starting or ending with your string by using square brackets:

when I fall              - shows files containing this
[when I fall             - shows files starting with this
when I fall]             - shows files ending with this

Note that not all fields are included in the default search.
Logged

jack wallstreet

  • Citizen of the Universe
  • *****
  • Posts: 522
Re: Wildcard in search field
« Reply #2 on: February 17, 2023, 09:24:22 pm »

Thank you very much.  I should have seen that.   I feel very stupid now and should have had more faith in MC.   
Logged
John

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72446
  • Where did I put my teeth?
Re: Wildcard in search field
« Reply #3 on: February 17, 2023, 10:32:57 pm »

Note that not all fields are included in the default search.
But MC lets you make any tag searchable.

Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9143
Re: Wildcard in search field
« Reply #4 on: February 17, 2023, 11:18:25 pm »

But MC lets you make any tag searchable.
Which you do by activating the option indicated in the "Manage Library Fields" tool.

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2620
Re: Wildcard in search field
« Reply #5 on: February 18, 2023, 02:00:39 am »

Or use "[all]=search text" to search all fields.
Logged
Pages: [1]   Go Up