On Fri, 28 Feb 2003, David THOMAS wrote:
> 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'
You missed my original response where I said "zero pad"?
You are comparing *strings*.
9 is greater than 1
moseley@bumby:~/swish-e/src$ swish-e -f index.swish-e -w "d*" -p DATE
ABROGE -s DATE desc -m 1000 -L DATE 0922575600 1048806000
# SWISH format: 2.3.4
# Search words: d*
# Removed stopwords:
# Number of hits: 1
# Search time: 0.001 seconds
# Run time: 0.029 seconds
1000 1.html "Found me!" 124 "0922575600" ""
.
Also, using -L for that "valid" test is probably not the best way to go.
Make it a metaname and then use
-w foo and valid=0
--
Bill Moseley moseley@hank.org
Received on Fri Feb 28 15:21:28 2003