0

I have a column COUNTRY AS

<field name="COUNTRY" type="string" indexed="true" stored="true">

I need to search value of country as usa or blank value but I am not able to do it.

I have tried

fq=country[ U]

fq=country['' U]

fq=country[NULL U]

but nothing has worked.

halfer
  • 19,824
  • 17
  • 99
  • 186
chicharito
  • 1,047
  • 3
  • 12
  • 41

1 Answers1

0

Based on the answers to these previous questions

You should be able to use one of the following:

 -(-(country:usa)+(country:{* TO *})) 

 (-country:[* TO *] AND *:*) OR country:usa
Community
  • 1
  • 1
Paige Cook
  • 22,415
  • 3
  • 57
  • 68