2

我使用Solr 3.3Solritas UI。我默认应用了结果分组。当我使用某个关键字进行搜索时,我不会跨多个页面获得结果。即使我提供空查询和搜索,我也不会获得跨多个页面的结果。我认为这个问题与分页有关,我想我需要更改速度脚本。

请指导我这...

编辑 :

在browse.vm下这是与分页相关的代码,当结果被分组时,我们没有链接到被调用的下一页宏。

有人可以为我的模糊想法提供一些清晰的图片。

现在,无论我搜索什么,我都会在几毫秒内找到 1 个组。



  #if($response.response.get('grouped'))
  $response.response.get('grouped').size() group(s) found in ${response.responseHeader.QTime} ms 
  #else$page.results_found results found in ${response.responseHeader.QTime} ms
  Page $page.current_page_number of $page.page_count#end



  #if($response.response.get('grouped'))
  #else
  #link_to_previous_page("previous")
  $page.results_found results found.
  Page $page.current_page_number of $page.page_count
  #link_to_next_page("next")
  #end
  
4

1 回答 1

0

How many "NumFound" do you have for your group ? Are you sure the field you are grouping on does not have a unique value or is empty, and you get all your results in one group ?

EDIT: Do you get something like this with only one group (what I am saying is maybe your groupValue is unique ??) ?

enter image description here

于 2011-09-05T09:10:25.887 回答