lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shalin Shekhar Mangar (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-622) SpellCheckComponent should build or load indices on startup and commits
Date Wed, 23 Jul 2008 19:51:31 GMT

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

Shalin Shekhar Mangar commented on SOLR-622:
--------------------------------------------

I suppose if a reload on firstSearcher fails due to some reason (missing/corrupted index),
we should try to build it, right?

> SpellCheckComponent should build or load indices on startup and commits
> -----------------------------------------------------------------------
>
>                 Key: SOLR-622
>                 URL: https://issues.apache.org/jira/browse/SOLR-622
>             Project: Solr
>          Issue Type: Improvement
>          Components: spellchecker
>    Affects Versions: 1.3
>            Reporter: Shalin Shekhar Mangar
>            Assignee: Shalin Shekhar Mangar
>            Priority: Minor
>             Fix For: 1.3
>
>
> SpellCheckComponent must be able to build/load spell check index on startup and commits.
With SOLR-605, SpellCheckComponent can register an event listener for firstSearcher and newSearcher
events and rebuild/reload indices as appropriate.
> * If index uses a FSDirectory and exists on disk then just reload it or else build it
on firstSearcher event.
> * If index is built from a Solr field then re-build it on newSearcher event.
> This will help avoid having to add QuerySenderListener in configuration and will not
force people to issue build on first query.

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


Mime
View raw message