: I'm hoping to be able to put an expression in the fq param instead, if
: that's supported.
you have to invert your logic. docs that "have not yet expired, or will
never expire" match the negacted query for "docs expired in the past"...
fq = -storeExpirationDate:[* TO NOW]
-Hoss
apasian [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 21, 2008 7:56 AM
To: solr-user@lucene.apache.org
Subject: Re: expression in an fq parameter fails
Ezra Epstein wrote:
> storeAvailableDate:[* TO NOW]
> storeExpirationDate:[NOW TO *]
...
>
> This works perfectly. Only t
Ezra Epstein wrote:
storeAvailableDate:[* TO NOW]
storeExpirationDate:[NOW TO *]
...
This works perfectly. Only trouble is that the two data fields may
actually be empty, in which case this filters out such records and we
want to include them.
I think the easiest thing to do w
We are trying to use fq parameter to limit our result set. We specify
the fq in the solrconfig.xml file within a DisMax
...
storeAvailableDate:[* TO NOW]
storeExpirationDate:[NOW TO *]
This works perfectly. Only trouble is that the two data fields may
ac