[ic] swish search inside a loop.

Rick Bragg lists at gmnet.net
Sat Sep 26 21:19:51 UTC 2009


On Sat, 2009-09-26 at 07:35 +0200, Stefan Hornburg (Racke) wrote:
> Rick Bragg wrote:
> > Hi,
> > 
> > I can't seem to get a swish search to work inside a loop.  I have tested
> > on 5.6.1 and 5.6.2. 
> > 
> > This should be all I need, but it never returns any matches at all.  
> > 
> >  [loop
> >    label=swish-search-results
> >    prefix=swish-search
> >    list_prefix=swish-search_list
> >    more=1
> >    ml=25
> >    search=|
> >          mv_searchtype=swish
> >          mv_search_file=products/index.swish
> >          mv_substring_match=1
> >          se='water'   
> >          rf="code,score,url,title,filesize,mod_date"
> >  |]
> > 
> 
> Did you see any error messages in your log file?
> 
> Regards
> 	Racke
> 
> 
> 
> -- 
> LinuXia Systems => http://www.linuxia.de/
> Expert Interchange Consulting and System Administration
> ICDEVGROUP => http://www.icdevgroup.org/
> Interchange Development Team
> 

OK, I did fix it for now, the way I did it was to put the
"products/index.swish in the new AllowRemoteSearch directive. AND go
back to using the [search-region] instead of the loop.  This is pure
public record data, so no worries there.  At some other point, I may
need use it as a loop.  I am still facing a real show-stopper however
with my other post about the more list.  Now that I went back to the
[search-region] with this, things are OK, but I have other tables (not
swish) that I am using the [loop] fed by CGI and I can't get [more] to
work. see the other post about that...

Thanks!
Rick


-- 
This message has been scanned for viruses and
dangerous content by Green Mountain Network, and is
believed to be clean.




More information about the interchange-users mailing list