Skip to main content.
home | support | download

Back to List Archive

Searching beetween dates in different propnames

From: Frits van Latum <fritsvanlatum(at)>
Date: Thu Jul 25 2002 - 08:04:19 GMT

I have another problem with searching between dates. I am indexing XML data
(bibliographic data) that have two elements/propnames: start and end. This
is to indicate a period. Example:

<title>The sixties</title>

So I want to do something like this:

	give me all records that are about the period 1960-1970
	give me all records with:  (end >= 1960) AND (start <= 1970)
	swish-e ... -L end >= 1960 -L start <= 1970

The example given should be found with this query!

Can Swish do anything like this? If so: what is the correct syntax.


-----Oorspronkelijk bericht-----
[]Namens Bill Moseley
Verzonden: woensdag 24 juli 2002 17:55
Aan: Multiple recipients of list
Onderwerp: [SWISH-E] Re: Searching beetween date

On Wed, 24 Jul 2002, David THOMAS wrote:

> I have downloaded and compiled swish-e-2.1-dev-25-2002-07-24.tar.gz
> but the -L option in not available.

Are you running the right binary?  Works for me.

moseley@laptop:~/swish-e/src$ ls -l swish-e
-rwxr-xr-x    1 moseley  moseley    865881 Jul 22 14:34 swish-e

moseley@laptop:~/swish-e/src$ ./swish-e -L
err: -L requires three parameters <propname> <lorange> <highrange>

Bill Moseley
Received on Thu Jul 25 08:07:55 2002