Any inputs on this really appreciated.

Thanks & Regards
Venkata MR
+91 98455 77125

From: Venkata MR
Sent: Tuesday, January 09, 2018 5:25 PM
To: 'solr-user@lucene.apache.org' <solr-user@lucene.apache.org>
Cc: Deepak Udapudi <deepa...@hcl.com>; Nareshkumar P <nareshkuma...@hcl.com>
Subject: solr cluster: solr auto suggestion with requestHandler

Hi All,

Problem: Not able to build suggest data on all solr cluster nodes

Configured three solr using external zookeeper
Configured the requestHandler for auto-suggestion as below

<requestHandler name="/suggest" class="solr.SearchHandler">
    <lst name="defaults">
      <str name="suggest">true</str>
      <str name="suggest.count">5</str>
      <str name="suggest.dictionary">Name</str>
    </lst>
    <arr name="components">
      <str>suggest</str>
    </arr>
</requestHandler>

<searchComponent name="suggest" class="solr.SuggestComponent">
 <lst name="suggester">
  <str name="name">Name</str>
  <str name="field">name</str>
  <str name="weightField">name</str>
  <str name="lookupImpl">AnalyzingInfixLookupFactory</str>
  <str name="indexPath">name_suggester_infix_dir</str>
  <str name="dictionaryImpl">DocumentDictionaryFactory</str>
  <str name="payloadField">key</str>
  <str name="suggestAnalyzerFieldType">lowercase</str>
  <str name="storeDir">name_suggestor_dictionary</str>
  <str name="fieldType">string</str>
 </lst>
</searchComponent>

When we manually issue request with suggest.build=true on one of the node for 
building suggest data, suggest data is built for that particular node only, 
other nodes of cluster are not getting build the suggest data.
Any configuration mismatch?

Thanks a lot.

Thanks & Regards
Venkata MR
+91 98455 77125

::DISCLAIMER::
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only. E-mail transmission is not guaranteed to be 
secure or error-free as information could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or may contain viruses in transmission. 
The e mail and its contents (with or without referred errors) shall therefore 
not attach any liability on the originator or HCL or its affiliates. Views or 
opinions, if any, presented in this email are solely those of the author and 
may not necessarily reflect the views or opinions of HCL or its affiliates. Any 
form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of this message without the prior written 
consent of authorized representative of HCL is strictly prohibited. If you have 
received this email in error please delete it and notify the sender 
immediately. Before opening any email and/or attachments, please check them for 
viruses and other defects.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Reply via email to