2
私は、自動提案機能を使用しようとすると、テキストボックス内の用語を検索しようとすると、write.lockを投げた後、AnalyzingInfixLookupFactoryを使用していますエラー。以下 はSUGGESTOR /コンポーネントを示唆して要求ハンドラを提案するためのSolr-config.xmlファイルで私の設定です:AnalyzingInfixLookupFactoryを使用してapache solr内のwrite.lockの問題
<searchComponent name="suggest" class="solr.SuggestComponent">
<lst name="suggester">
<str name="name">mySuggester</str>
<str name="lookupImpl">AnalyzingInfixLookupFactory</str>
<str name="dictionaryImpl">DocumentDictionaryFactory</str>
<str name="field">text</str>
<str name="weightField">price</str>
<str name="payloadField">prod_id</str>
<str name="contextField">ancestors</str>
<str name="suggestAnalyzerFieldType">text_general</str>
<str name="buildOnStartup">false</str>
</lst>
</searchComponent>
<requestHandler name="/suggest" class="solr.SearchHandler" startup="lazy">
<lst name="defaults">
<str name="suggest">true</str>
<str name="suggest.count">10</str>
</lst>
<arr name="components">
<str>suggest</str>
</arr>
</requestHandler>
私はこれを回避することができますどのように任意のアイデアやソリューション?おかげさまで
また、私はindexConfigでSolrの-config.xmlのファイルを以下のように変更作ってみました:\t $ {solr.lock.type:ネイティブ} 真 \t 10000 writeLockTimeout>を \t 15000 commitLockTimeout> \t <! - unlockOnStartup> true unlockOnStartup> - > indexConfig> –