INTERACT FORUM

Please login or register.

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

Author Topic: list of search modifiers, please...  (Read 1123 times)

jimmy

  • Guest
list of search modifiers, please...
« on: March 11, 2002, 01:17:17 pm »

Could anyone give me a list of the current search modifiers for MJ?

I'd like a (full) list, but am currently tryng to find whole words: 'right' not 'wright'.

Thanks.
Logged

Cmagic

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1196
  • Enjoying life with a little music....
RE:list of search modifiers, please...
« Reply #1 on: March 12, 2002, 03:26:03 am »

Hi Jimmy,

Here is a list of the search modifiers I know so far :

~a : Get full albums
example : "From A Buick 6" ~a
Will retrieve the full album (Bob Dylan - Highway 61 Revisited) than contains
the named song.

~n : Limit to n tracks
example : ~n10
Will give a 10 tracks list

~s : Limit to s MB
example : ~s650
Will give a track list < 650 MegaBytes

~t : Limit to t minutes
example : ~t60
Will give a 60 minutes track list

All of these modifiers except ~a, will generate a list from a random pick among the tracks in your database.

Hope this helps

Bonne journee

Christian
Logged
Until the color of a man's skin is of no more significance
than the color of his eyes.
Bob Marley (War)

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42028
  • Shoes gone again!
RE:list of search modifiers, please...
« Reply #2 on: March 12, 2002, 06:10:54 am »

To search for whole words, check out this example:

one      (returns: none, one, stone, ones)
[one]    (returns: one)
"one]    (returns: none, one, stone)
[one"    (returns: one, ones)

So, brackets mean the field must start / end that way.

Hope that helps.

-Matt
Logged
Matt Ashland, JRiver Media Center

jimmy

  • Guest
RE:list of search modifiers, please...
« Reply #3 on: March 12, 2002, 10:44:27 am »

Thanks Cmagic and Matt... but, I think I need something else.

My current example: I want a smart list called 'Night & Day' so I tried--

    name=night OR name=day

and got things like yesterday, midnight and holiday in the results.

I want a whole word to appear anywhere in the title. So, things like "Night Fever" (Bee Gees) and "I Forget You Every Day" (Chris Whitley) should be returned, but not "After Midnight" (Eric Clapton) or "Saturday in the Park" (Chicago).

I then tried--

    name=[night OR name=[day

and get "Night Fever", but not "Oh What a Night."

Any ideas? Feeling not so smart... jimmy
Logged

jimmy

  • Guest
RE:list of search modifiers, please...
« Reply #4 on: March 12, 2002, 10:47:17 am »

I guess, now that I think about it, I want a contains option, instead of equals.

Possible?
Logged

Callithumpian

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 482
  • Subvert the Dominant Paradigm
RE:list of search modifiers, please...
« Reply #5 on: March 12, 2002, 03:33:53 pm »

The "OR" is a default boolean for searching so you don't need to specify it.
Try
name=[night ",[day "," night "," day "," night]," day]
Note:- the spaces are important.

Essentially this rule returns:-
any trackname thats starts with a whole word (ie: one followed by a space} - [night " - followed by anything
any trackname thats starts with a whole word - [day " - followed by anything
any trackname has a whole word (ie: one preceeded and followed by a space} - " day " - then preceeded and followed by some(any)thing
any trackname has a whole word " night " - then preceeded and followed by some(any)thing
any trackname thats ends with a whole word (ie: one preceeded by a space} - " night] - preceeded by anything
any trackname thats ends with a whole word - " day] - preceeded by anything.

This rule would exclude a song called simply "Night" or simply "Day"
For that you would have to have:-
name=[night ",[day "," night "," day "," night]," day],[night],[day]
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42028
  • Shoes gone again!
RE:list of search modifiers, please...
« Reply #6 on: March 12, 2002, 04:15:43 pm »

What Calithumpian recommended will probably get you pretty close, but what you're really asking for doesn't currently exist.  There's no "match whole words only" type option.

Let us think about it though...

-Matt
Logged
Matt Ashland, JRiver Media Center

jimmy

  • Guest
RE:list of search modifiers, please...
« Reply #7 on: March 13, 2002, 06:00:33 am »

Thanks Callithumpian... that just looks crazy, but I'll give it a try and see. I'll let you all know how it goes.

j.
Logged

jimmy

  • Guest
RE:list of search modifiers, please...
« Reply #8 on: March 13, 2002, 06:18:57 am »

The second option worked... looks fine! Thanks. Its kind of the long way around, but until MJ gives me an earier way...
Logged

jimmy

  • Guest
RE:list of search modifiers, please...
« Reply #9 on: March 13, 2002, 08:14:56 am »

>> earier

OK, I don't know what that means!
Logged
Pages: [1]   Go Up