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 Kalahasthi Satyanarayana <ka...@hcl.com> on 2018/02/20 06:42:13 UTC

Re: Auto-Suggestions are not propagating to Solr Cluster Nodes

FYI

Thanks
Kalahasthi Satyanarayana
Mobile : 08884581161
________________________________
From: Kalahasthi Satyanarayana
Sent: Tuesday, February 20, 2018 11:57 AM
To: 'solr-user@lucene.apache.org
Cc: Deepak Udapudi; Venkata MR; VMR@delta.org; Nareshkumar P; Nareshkumar P; Soma Das; Soma Das
Subject: Auto-Suggestions are not propagating to Solr Cluster Nodes


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
Kalahasthi Satyanarayana
Mobile : 08884581161

::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.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------