You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Tommaso Teofili (JIRA)" <ji...@apache.org> on 2015/02/06 10:42:34 UTC

[jira] [Resolved] (OAK-2483) Avoid building suggest/spellcheck dictionary at query time

     [ https://issues.apache.org/jira/browse/OAK-2483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tommaso Teofili resolved OAK-2483.
----------------------------------
    Resolution: Fixed

in r1657766 added _buildOnCommit=true_ for suggest component (update suggest dictionary on each commit), and removed _suggest.build=true_ and _spellcheck.build=true_ from {{FilterQueryParser}} (query time building).

> Avoid building suggest/spellcheck dictionary at query time
> ----------------------------------------------------------
>
>                 Key: OAK-2483
>                 URL: https://issues.apache.org/jira/browse/OAK-2483
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: oak-solr
>            Reporter: Tommaso Teofili
>            Assignee: Tommaso Teofili
>             Fix For: 1.1.7
>
>
> Since default spellcheck configuration is based on Lucene's {{DirectSpellchecker}} the dictionary doesn't have to be built every time, if other spellcheckers are used _buildOnCommit_ or _buildOnOptimize_ triggers can be added to Solr's _solrconfig.xml_.
> The same for Suggest component, we should not ask to build it at query time, but rather on optimize or commit, in the _solrconfig.xml_



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