簡體   English   中英

大於在SOLR過濾器查詢中不起作用

[英]greater than is not working in SOLR filter query

我編寫了solr查詢以提取命中大於610的項目。但是,如果列出命中大於610的項目,它將顯示solr核心中的所有文檔。

請找到以下網址並指導我。

http://localhost:8983/solr/mainitemdata/select?q=*%3A*&fq=hitsSort%3A+610+To+*&wt=xml&indent=true

試試看(用大寫的TO和方括號):

http://localhost:8983/solr/mainitemdata/select?q=*%3A*&fq=hitsSort%3A%5B610+TO+*%5D&wt=xml&indent=true

您可以在此頁面上查找范圍查詢。

嘗試輸入:

http://localhost:8983/solr/mainitemdata/select?q=*%3A*&fq=hitsSort[610 TO *]&wt=xml&indent=true

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM