lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abhijit Pawar <>
Subject Write.lock issue in apache SOLR using AnalyzingInfixLookupFactory
Date Wed, 22 Jun 2016 20:55:07 GMT

I am developer working on apache SOLR implementation here developing an
application where I am using auto-suggest feature.After few search requests
in the textbox it starts throwing the write.lock error.

I am using AnalyzingInfixLookupFactory for my Search Suggest Component as
shown below :

<!-- Search Suggest Component  -->
<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>

<!-- Suggest Request Handler -->
<requestHandler name="/suggest" class="solr.SearchHandler" startup="lazy">
 <lst name="defaults">
<str name="suggest">true</str>
<str name="suggest.count">10</str>
 <arr name="components">

Also in indexConfig component I have configured as below :



<!-- <unlockOnStartup>true</unlockOnStartup>  -->


I even tried to increase the writelockTimeout to 20000 milisec.Still the
issue persists.

Any idea or solution that anyone can recommend to circumvent this
issue/problem ?

Best Regards,
Abhijit Pawar | Sr. Oracle Commerce Analyst
Mob: +1 (281)-787-1752
Office : +1 (469) 287 2005 x 110
9300 Wade Blvd, Suite 301, Frisco, TX 75035, USA

Follow us on:

  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message