You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by ostrowskij <al...@gmail.com> on 2014/01/15 09:54:59 UTC

Pagination searchComponent

*Hi,

I'm trying to add searchComponent to my solr. It works fine except
pagination. The results are print but pagination get data from solr quey
results. Have any ideas?
 Xml returned:*

 <response>
       <lst name="responseHeader">
  
        <int name="status">0</int>
        <int name="QTime">8972</int>
  
        <lst name="params">
   
         <str name="spellcheck">true</str>
         <str name="v.layout">layout</str>
         <str
name="fl">id,title,author,last_modified,size,score,confuenceContent</str>
         <str name="df">content</str>
         <str name="echoParams">All</str>
         <str name="spellcheck.count">6</str>
         <str name="wt">xml</str><str name="v.template">browse</str>
         <str name="rows">10</str>
         <str name="wt">xml</str>
         <str name="q">s</str>
         <str name="rows">10</str>
  
        </lst>
       </lst>
       <result name="response" numFound="4" start="0"
maxScore="0.083131984"></result>
       <result name="response" numFound="200" start="0"
maxScore="0.083131984"></result>
</response>
*
And config:*

<requestHandler name="/confuenceSearch"
class="pl.com.tt.confuenceSearch.ConfuenceSearchMain">
     <lst name="defaults">
       <str name="echoParams">All</str>

       
       <str name="wt">velocity</str>

       <str name="v.template">browse</str>
       <str name="v.layout">layout</str>

       <str name="df">content</str>
       
       <str name="rows">10</str>
       <str
name="fl">id,title,author,last_modified,size,score,confuenceContent</str>

	   	  

     </lst>
     <arr name="last-components">
       <str>confuenceComponent</str>
     </arr>
  </requestHandler>

  <searchComponent name="confuenceComponent"
class="pl.com.tt.confuenceSearch.ConfuenceSearchComponent">
  
    <str name="queryAnalyzerFieldType">string</str>

    <lst name="confuenceComponent">
      <str name="name">default</str>
      <str name="field">content</str>
	  
      <str name="spellcheckIndexDir">confuenceComponent</str>
	  <str name="buildOnCommit">true</str>
    </lst>
</searchComponent>




--
View this message in context: http://lucene.472066.n3.nabble.com/Pagination-searchComponent-tp4111393.html
Sent from the Solr - User mailing list archive at Nabble.com.