Skip to main content.
home | support | download

Back to List Archive


From: Bill Moseley <moseley(at)>
Date: Thu Dec 01 2005 - 18:10:58 GMT
On Thu, Dec 01, 2005 at 09:54:32AM -0800, Christopher Sabanty wrote:
> Hello all,
> =20
> I'm using the -L command to filter the ages for scholarships. The particu=
> lar fragment usually looks something like this.
> =20
> -L iMin_Age 0 24
> =20
> This works fine. However, some of the XML files have an empty string valu=
> e for iMin_Age. Therefore, the -L command filters it out since it doesn't=
>  technically have a value that meets the filter.

They are not filtered out, but filtered to one end, IIRC.  So try
using a >= or <= kind of search.

> =20
> I know the best solution would be to make the XML files have uniform, num=
> eric values. Unfortunately, this isn't something I have the ability to do=
>  at this moment.

Filter the files while indexing.

> Is there any way I can write something along the lines o=
> f?
> =20
> -L iMin_Age 0 24 OR \(iMin_Age =3D ""\)

Use a database.

Bill Moseley

Unsubscribe from or help with the swish-e list:

Help with Swish-e:
Received on Thu Dec 1 10:11:03 2005