swish-e -f index.swish-e -w "d*" -d @@@@@ -p DATE ABROGE -s DATE desc -m
1000 -L DATE 922575600 1048806000 -L VALID 0 0
# SWISH format: 2.2.3
# Search words: d*
err: Failed to setup limit by property: Property 'date' value '922575600'
must be <= '1048806000'
Bill Moseley <moseley@hank.org>
Sent by: swish-e@sunsite.berkeley.edu
28/02/2003 15:34
Please respond to moseley
To: Multiple recipients of list <swish-e@sunsite.berkeley.edu>
cc:
Subject: [SWISH-E] Re: Timestamp and -L option
On Fri, 28 Feb 2003, David THOMAS wrote:
> >>It will if you zero pad and use string comparisons.
> PropertyNames DATE
>
> DATE (timestamp format) is considered as a string.
>
> The comparison with -L does not work. I think I miss something
> I need to find document > 63166608000 and document < 64166608000
What doesn't work? Please show your test case when you post.
$ cat 1.html
<html>
<head>
<title>Found me!</title>
<meta name="date" content="63166608001">
</head>
<body>bodyword</body>
</html>
$ cat c
Propertynames date
$ ./swish-e -w not d -L date 63166608000 64166608000
# SWISH format: 2.3.4
# Search words: not d
# Removed stopwords:
# Number of hits: 1
# Search time: 0.001 seconds
# Run time: 0.029 seconds
1000 1.html "Found me!" 119
.
$ ./swish-e -w not d -L date 63166608000 63166608000
# SWISH format: 2.3.4
# Search words: not d
# Removed stopwords:
err: no results
.
--
Bill Moseley moseley@hank.org
*********************************************************************
Due to deletion of content types excluded from this list by policy,
this multipart message was reduced to a single part, and from there
to a plain text message.
*********************************************************************
Received on Fri Feb 28 14:59:27 2003