Skip to main content.
home | support | download

Back to List Archive

Re: Restricting Searches by Date, Age, or other criteria

From: Bill Moseley <moseley(at)>
Date: Mon Jul 05 2004 - 17:04:36 GMT
On Mon, Jul 05, 2004 at 04:40:08AM -0700, Tac wrote:
> Is there a way to restrict a search to within a numeric range?  Swish-e is
> doing a wonderful job indexing our database (pumping the data out as XML and
> feeding it to swish-e), but I thought I saw a way to "filter" results (e.g.
> find everyone with the Age property between 25 and 40).

Look at SWISH-RUN man page or if using SWISH::API, look at the
SWISH::API man page.  Search for "limit".

> Also, my test script is failing on the line:
>         my @metas = $swish->MetaList( $index_name );
> The error is
> Can't locate auto/SWISH/API/ in @INC (@INC contains: C:/perl/lib
> C:/perl/site/lib .) at line 109

Does your version of API.xs have that function?

> Obviously, my library (perl or otherwise) is out of sync on my Windows
> environment, can somebody point me to a url where I can get the latest of
> everything, including the Perl API stuff?  

For Windows?  I think Dave's daily build system is not functioning at
this time.  Dave?

Bill Moseley

Unsubscribe from or help with the swish-e list:

Help with Swish-e:
Received on Mon Jul 5 10:04:51 2004