Re: search for non empty field

2009-09-30 Thread Erik Hatcher
field:[* TO *] matches documents that have that have one or more terms in that field. If your indexer is sending a value, it'll end up with a term. Note that changing from string to long requires reindexing, though that isn't the issue here. Erik On Sep 30, 2009, at 2:39 AM,

Re: search for non empty field

2009-09-30 Thread Jorge Agudo Praena
Hi, i'm not having the expected results when using [* TO *], the results are including empty fields. Here is my configuration: schema.xml: bean: @Field private List refFaseExp= new ArrayList(); query: http://host.com/select?rows=0&facet=true&facet.field=refFaseExp&q=*:* AND refFaseExp:[* TO *]

Re: search for non empty field

2008-03-31 Thread Matt Mitchell
Thanks Erik. I think this is the thread here: http://mail-archives.apache.org/mod_mbox/lucene-solr-user/200709.mbox/[EMAIL PROTECTED] Matt On Sun, Mar 30, 2008 at 9:50 PM, Erik Hatcher <[EMAIL PROTECTED]> wrote: > Documents with a particular field can be matched using: > > field:[* TO *]

Re: search for non empty field

2008-03-30 Thread Erik Hatcher
Documents with a particular field can be matched using: field:[* TO *] Or documents without a particular field with: -field:[* TO *] An empty field? Meaning one that was indexed but with no terms? I'm not sure about that one. Seems like Hoss replied to something similar on thi

Re: search for non empty field

2008-03-30 Thread Matt Mitchell
I'm looking for the exact same thing. On Sun, Mar 30, 2008 at 8:45 PM, Ismail Siddiqui <[EMAIL PROTECTED]> wrote: > Hi all, > > > I have a situation where i have to filter result on a non empty field . > wild card wont work as it will have to match with a letter. > How can I form query to return