Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] Search for all documents in a given time range?

From: Miki Tebeka <miki(at)not-real.fattoc.com>
Date: Mon Aug 06 2007 - 14:20:30 GMT
Hello Peter,

 >> How can I search for all document in a given time range?
 > use a rdbms? :)
We've used rdbms in the previous version and decided to switch to
swish-e, we don't regret it :)
Most of our use cases involve searched, very little of them require time
range - you optimize for the common use case.

 >> The only workaround I found was to use
 >>      swish-e -L swishlastmodified 0 1186184522 \
 >>              -w 'not nosuchwordanywhere'
 >>
 >> Is there a more elegant solution?
 > If you want a more elegant search query, I believe this is reasonable
 > in terms of performance and doesn't rely on the [non]presence of a
 > particular string:
 >
 >   swish-e -w 'a not a'
This didn't produce any result, however
     swish-e -w 'a OR (NOT a)'
did.

Thanks,

All the best,
--
Miki Tebeka
miki@fattoc.com

_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Mon Aug 6 10:20:34 2007