[ic] Custom SearchOP SOLVED
Kevin Walsh
kevin at cursor.biz
Tue Sep 11 03:36:01 EDT 2007
Tom Tucker <tom at ttucker.com> wrote:
> As usual, DOH!
>
> I was naming the CodeDef sub while the code_def routine in Util.pm code
> looks to be expecting an anonymous subroutine that it stores in the
> namespace with the name specified in CodeDef. My routine was thus never
> being called at all.
>
D'oh! I didn't spot that either.
>
> Works now. Just follow the template in catalog.cfg precisely and you
> will avoid the same frustration.
>
There's an example in the docs too:
http://www.interchange.rtfm.info/icdocs/Interchange_search_engine.html#Custom_search_operators_using_SearchOp
--
_/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/
_/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h
_/ _/ _/ _/ _/ _/ _/ _/_/ kevin at cursor.biz
_/ _/ _/_/_/_/ _/ _/_/_/ _/ _/
More information about the interchange-users
mailing list