RE: expression in an fq parameter fails

2008-05-21 Thread Chris Hostetter
: 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

RE: expression in an fq parameter fails

2008-05-21 Thread Ezra Epstein
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

Re: expression in an fq parameter fails

2008-05-21 Thread Daniel Papasian
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

expression in an fq parameter fails

2008-05-20 Thread Ezra Epstein
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