Akopia Akopia Services

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

Re: [mv] Match limit



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

Quoting Stefan Hornburg (racke@linuxia.de):
> 
> Hello, MiniVend hackers !
> 
> Is there a way to set the mv_matchlimit globally for one catalog so
> you don't need to specify it for all searches ?

No. You could do it for a complete Minivend server by overriding some
routines in Vend::TextSearch and the like.

You could also build your own search module:

	1. cp Vend/TextSearch.pm Vend/RackeSearch.pm
	2. change the package declarations
	3. change init() to work how you want
	4. Use a mv_searchtype of "Vend::RackeSearch"

This is the way you can create custom search modules; for instance
I did a Vend::Verity module some time ago.

It wouldn't be too much of a hack to add an Autoload capability for
search profiles, something like the Autoload directive in catalog.cfg.

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

Be patient. God isn't finished with me yet.  -- unknown
-
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: