0

我有一列 COUNTRY AS

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

我需要将国家/地区的值搜索为美国或空白值,但我无法做到。

我试过了

fq=country[ U]

fq=country['' U]

fq=country[NULL U]

但没有任何效果。

4

1 回答 1

0

基于这些先前问题的答案

您应该能够使用以下其中一项:

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

 (-country:[* TO *] AND *:*) OR country:usa
于 2013-03-28T12:48:09.237 回答