Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: FW: [mv] Search field Question



******    message to minivend-users from Mike Heins <mikeh@minivend.com>     ******

Quoting Ramsey French (rammjet@mac.com):
> 
> Giving it another try....
> 
> 
> Hi - I have looked through the docs and the archives, but I cannot get a
> clear explanation on what is happening here.
> 
> In the simple demo, there is a search box in the logobar.  Some of the
> arguments in the form variables are:
> 
>   <INPUT TYPE=hidden NAME=mv_coordinate VALUE=1>
>   <INPUT TYPE=hidden NAME=mv_search_field VALUE=category>  <===
>   <INPUT TYPE=hidden NAME=mv_search_field
>                    VALUE=":artist,title,comment,display">  <===
>                           ^
> 
> What is happening with this pair of search_field values?  What does the
> colon (:) in front of the string "artist,title,comment,display" do?
> 
> I'm assuming some "pairing" happens where category:artist becomes a pair and
> category:title becomes a pair.  What type of search is happening here?

The intent is a coordinated search for

	category =~ /searchstring 1/

and

	(artist . title . comment . display) =~ /searchstring 2/

After looking at the code, I am not sure it works quite right. I think
the second value should actually be :artist:title:comment:display if I
read it correctly.

-- 
Internet Robotics, 131 Willow Lane, Floor 2, Oxford, OH  45056
phone +1.513.523.7621 fax 7501 <mikeh@minivend.com>

Friends don't let friends use Outlook. -- Bob Blaylock
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: