we use something in between: fq=fieldName[* TO *]

-- 
*John Blythe*
Product Manager & Lead Developer

251.605.3071 | j...@curvolabs.com
www.curvolabs.com

58 Adams Ave
Evansville, IN 47713

On Fri, Jul 15, 2016 at 10:17 AM, Valentina Cavazza <valent...@step-net.it>
wrote:

> Hi,
> I need to search documents that have a specific field populated, so I want
> to display all the documents that have the field not empty.
> This field in schema is set multivalued=true, indexed=true, stored=true,
> default=EMPTY.
> This field type is solr.TextField class, use StandardTokenizerFactory
> tokenizer, ICUFoldingFilterFactory filter, LowerCaseFilterFactory filter
> and GreekStemFilterFactory filter in index and query analizer.
> I already tried queries like this:
> q=field:*
> q=+field:*
> q=+field:[* TO *]
> q=+field:['' TO *]
> q=+field:["" TO *]
> q=+field:[' ' TO *]
> q=+field:' '
> q=-field:EMPTY
>
> but nothing found.
> Someone know how to do that?
> Thanks
>
> Valentina
>

Reply via email to