Re: Filter query to check for not null filed

2009-09-06 Thread Lance Norskog
In the standard query parser, you would use: q=field1:xxx+field3:[* TO *] You cannot use * or ? as the first letter of a query term. The [* TO *] syntax is a range query. Using * at both ends means "any to any". On Fri, Sep 4, 2009 at 3:40 PM, Mohamed Parvez wrote: > Say i have 3 fields, named

Re: Filter query to check for not null filed

2009-09-04 Thread Avlesh Singh
Escape your special characters. q=field:\? and q=field:\- should work fine. Cheers Avlesh On Sat, Sep 5, 2009 at 4:10 AM, Mohamed Parvez wrote: > Say i have 3 fields, named field1,field2 and field3 > > I want to query all records that have "xxx" in field1 and filed3 should not > be null > > I t