Searching: Difference between revisions

From kJams Wiki
Jump to navigation Jump to search
No edit summary
Line 5: Line 5:


==Targeted Searches==
==Targeted Searches==
You can search only on a specific column by putting the name of the column first, followed by a colon, followed by your search term.  EG: if you search for "bb", you'll get all the songs that you marked as in the key of B flat, but you'll also get all "Abba" songs right?  but if you type "key:bb", then you will ONLY search the "Key" column, and only get results in the key of B flat.  Note this does not combine with numeric searching, since it is already rather targeted to search only on numeric fields.  To search for something that actually has a colon in it, just put in two colons in a row.
You can search only on a specific column by putting the name of the column first, followed by a colon, followed by your search term.  EG: if you search for "bb", you'll get all the songs that you marked as in the key of B flat, but you'll also get all "Abba" songs right?  but if you type "key:bb", then you will ONLY search the "Key" column, and only get results in the key of B flat.  Note this does not combine with numeric searching, since it is already rather targeted to search only on numeric fields.  To search for something that actually has a colon in it, just put in two colons in a row. To search "checkbox" columns (like "No Lyrics", "Purchased" etc), use a "1" to mean "checked" and a "0" to mean "un-checked".  eg: to search for all purchased songs, type "purchased:1" in the search box!


==Why is it slow?==
==Why is it slow?==
See [[Slow Searching]].
See [[Slow Searching]].

Revision as of 06:19, 8 October 2010

To search for a song in the current playlist, press ⌘-F (command-F). To search for a song in the Library, press ⌘ shift-glyph.png -F. Searching will search every visible column, so to make search go faster, hide the columns you don't care about. Also, if you have more than 1000 songs, you may want to turn OFF the pref "Update Search Results as you Type", this will let you type your search then you have to hit [return] to execute the search, rather than have kJams try to execute the search on every key stroke.

Numeric Searches

To search for a number like "Song ID", just type the number. If you *only* type digits into the search field, it will be interpreted as a number and NOT as a string, and it will search numeric fields only, automatically. eg: typing "52" will find "Song ID" 52, but will NOT find "The B-52s". To search for NON-numeric numbers, add a space to the end, eg, typing "52 " (note the space?), this will NOT find "Song ID" 52, but it WILL find "The B-52s". Note the Date column is NOT numeric.

Targeted Searches

You can search only on a specific column by putting the name of the column first, followed by a colon, followed by your search term. EG: if you search for "bb", you'll get all the songs that you marked as in the key of B flat, but you'll also get all "Abba" songs right? but if you type "key:bb", then you will ONLY search the "Key" column, and only get results in the key of B flat. Note this does not combine with numeric searching, since it is already rather targeted to search only on numeric fields. To search for something that actually has a colon in it, just put in two colons in a row. To search "checkbox" columns (like "No Lyrics", "Purchased" etc), use a "1" to mean "checked" and a "0" to mean "un-checked". eg: to search for all purchased songs, type "purchased:1" in the search box!

Why is it slow?

See Slow Searching.