> 1. The paging I have implemented is pretty dumb. I thought it might be
> better to pass the required start and end result to the control, and
> just return those results.
> I can't seem to get the syntax right for 'SetSearchLimit':
> oSW.SetSearchLimit ("swishreccount", 1, 10)
> oSW.SetSearchLimit "swishreccount", 1, 10
For paging, we use the oSW.SeekResult and the
oSW.NextResult. The oSW.SeekResult initialises the
start position and subsequently call oSW.NextResult
in a loop (pagesize times).
> 2. In the past I have used something similar to this:
> swishdocpath=(" & strSearchPath & ")"
> in the SearchPhrase to limit search results to certain document paths.
> Is there a way to do something similar with SwishCtl ?
AFAIK the search syntax for metanames does not differ between
Swish-e and SwishCtl, so first experiment at the commandline
version of swish-e.exe.
Users mailing list
Received on Mon Mar 3 09:24:01 2008