0
使用Solr範圍查詢一些怪異的行爲:Solr的4.1範圍過濾器的查詢不會在特定的情況下工作
當我primary_longitude範圍的下限小於-100,則Solr的不返回任何結果沉綿數據存在。
http://localhost:8983/solr/<CORE>/select/?qt=dismax&q=Y&qf=show_all_flag&fl=*&fq=primary_longitude%3A%5B-97.500+TO+-101.999%5D&rows=25&start=0&sort=available_y+desc%2C+net_score+desc&wt=json&debugQuery=true
下面的查詢應該返回上述查詢返回的數據的一個子集,所以我知道有數據與查詢匹配。
WORKS:
http://localhost:8983/solr/<CORE>/select/?qt=dismax&q=Y&qf=show_all_flag&fl=*&fq=primary_longitude%3A%5B-97.500+TO+-99.999%5D&rows=25&start=0&sort=available_y+desc%2C+net_score+desc&wt=json&debugQuery=true
任何想法?我試着顛倒了查詢1中數字的順序,並返回了不在該範圍內的結果。
感謝Jayendra。我會檢查你知道的。謝謝... – 2013-05-07 04:20:38