[ 
https://issues.apache.org/jira/browse/SOLR-6246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15200096#comment-15200096
 ] 

Dario Govergun commented on SOLR-6246:
--------------------------------------

I don't know if the other issue I'm having while implementing this has 
something to do with this one. If not, please correct me.

The other thing that is happening to me is that I get a *Store Lookup Build 
Failed* error, after sending a build command, using the suggester configured to 
use the *AnalyzingInfixSuggester* implementation.
The logs are not very explicit:

{code}
2016-03-17 18:07:02.616 INFO  (qtp1698904557-13) [   x:users] 
o.a.s.h.c.SuggestComponent SuggestComponent prepare with : 
omitHeader=true&echoParams=explicit&suggest.dictionary=suggest&suggest.build=true&suggest=true&json.nl=flat&wt=json&suggest.count=10
2016-03-17 18:07:02.618 INFO  (qtp1698904557-13) [   x:users] 
o.a.s.s.s.SolrSuggester SolrSuggester.build(suggest)
2016-03-17 18:07:02.778 ERROR (qtp1698904557-13) [   x:users] 
o.a.s.s.s.SolrSuggester Store Lookup build failed
2016-03-17 18:07:02.778 INFO  (qtp1698904557-13) [   x:users] 
o.a.s.h.c.SuggestComponent SuggestComponent process with : 
omitHeader=true&echoParams=explicit&suggest.dictionary=suggest&suggest.build=true&suggest=true&json.nl=flat&wt=json&suggest.count=10
2016-03-17 18:07:02.778 INFO  (qtp1698904557-13) [   x:users] o.a.s.c.S.Request 
[users] webapp=/solr path=/suggest 
params={omitHeader=true&suggest=true&suggest.build=true&json.nl=flat&wt=json} 
status=0 QTime=162
{code}

Does this have to do with the same thing? Or is it another issue with this 
lookup implementation?

> Core fails to reload when AnalyzingInfixSuggester is used as a Suggester
> ------------------------------------------------------------------------
>
>                 Key: SOLR-6246
>                 URL: https://issues.apache.org/jira/browse/SOLR-6246
>             Project: Solr
>          Issue Type: Sub-task
>          Components: SearchComponents - other
>    Affects Versions: 4.8, 4.8.1, 4.9, 5.0, 5.1, 5.2, 5.3, 5.4
>            Reporter: Varun Thacker
>         Attachments: SOLR-6246-test.patch, SOLR-6246-test.patch, 
> SOLR-6246.patch
>
>
> LUCENE-5477 - added near-real-time suggest building to 
> AnalyzingInfixSuggester. One of the changes that went in was a writer is 
> persisted now to support real time updates via the add() and update() methods.
> When we call Solr's reload command, a new instance of AnalyzingInfixSuggester 
> is created. When trying to create a new writer on the same Directory a lock 
> cannot be obtained and Solr fails to reload the core.
> Also when AnalyzingInfixLookupFactory throws a RuntimeException we should 
> pass along the original message.
> I am not sure what should be the approach to fix it. Should we have a 
> reloadHook where we close the writer?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to