[英]chef knife search query
my current search is knife search node 'name:* AND solr_cores_20170501*:*'
我当前的搜索是
knife search node 'name:* AND solr_cores_20170501*:*'
I'd like to return data where the date can be either 20170501 or 20170508. Thus far the ands, ors and ranges I've tried have failed. 我想返回日期可以是20170501或20170508的数据。到目前为止,我尝试过的ands,ors和range都失败了。
Is is possible with knife? 用刀可以吗?
You want solr_cores_20170501:* OR solr_cores_20170508:*
probably. 您可能需要
solr_cores_20170501:* OR solr_cores_20170508:*
。 In general you would want to do very complex filtering locally as we use Lucene in purely text mode with a lot of transforms on the data. 通常,您会希望在本地进行非常复杂的过滤,因为我们在纯文本模式下使用Lucene并对数据进行了大量转换。 Works well for simple cases but breaks down for the more complex stuff.
在简单的情况下效果很好,但在较复杂的情况下却无法正常工作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.