lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-2173) Suggester should always rebuild Lookup data if Lookup.load fails
Date Wed, 20 Oct 2010 17:34:22 GMT

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

Yonik Seeley commented on SOLR-2173:
------------------------------------

Seems like a reasonable approach to me.

> Suggester should always rebuild Lookup data if Lookup.load fails
> ----------------------------------------------------------------
>
>                 Key: SOLR-2173
>                 URL: https://issues.apache.org/jira/browse/SOLR-2173
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 3.1, 4.0
>            Reporter: Andrzej Bialecki 
>            Assignee: Andrzej Bialecki 
>             Fix For: 3.1, 4.0
>
>         Attachments: SOLR-2173.patch
>
>
> See also the comments [here|https://issues.apache.org/jira/browse/SOLR-2002?focusedCommentId=12921507&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_12921507].
Currently available Lookup implementations don't implement load/save - these calls always
return false.
> This means that Lookup dictionary is lost on searcher reload (or core reload) and needs
to be rebuilt. However, this breaks the semantics of spellcheck.build=true, because with this
patch the dictionary will always be recreated, even if this parameter is false... Still, this
may be less surprising to users than a vanishing autosuggest functionality after commit.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message