[prev in list] [next in list] [prev in thread] [next in thread] 

List:       solr-dev
Subject:    [jira] Updated: (SOLR-609) SpellCheckComponent doesn't read default
From:       "Shalin Shekhar Mangar (JIRA)" <jira () apache ! org>
Date:       2008-06-27 6:17:45
Message-ID: 1229445136.1214547465174.JavaMail.jira () brutus
[Download RAW message or body]


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

Shalin Shekhar Mangar updated SOLR-609:
---------------------------------------

    Attachment: SOLR-609.patch

Constructs a defaults SolrParams in the init method which is used for getting default \
value specified in solrconfig.xml for onlyMorePopular, count, collate and \
extendedResults parameters.

> SpellCheckComponent doesn't read default options from solrconfig.xml
> --------------------------------------------------------------------
> 
> Key: SOLR-609
> URL: https://issues.apache.org/jira/browse/SOLR-609
> Project: Solr
> Issue Type: Bug
> Components: spellchecker
> Affects Versions: 1.3
> Environment: confirmed on FreeBSD7-stable , nightly 1.3 build (2008-06-25) , \
> jdk1.6. I am using the spellchecker called as last-components from my dismax \
>                 handler.
> Reporter: Norberto Meijome
> Priority: Minor
> Attachments: SOLR-609.patch
> 
> 
> solrconfig.xml contains :
> [...]
> <searchComponent name="ArtistSpellCheck"
> 		class="org.apache.solr.handler.component.SpellCheckComponent">
> 		<lst name="defaults">
> 			<!-- omp = Only More Popular -->
> 			<str name="spellcheck.onlyMorePopular">false</str>
> 			<!-- exr = Extended Results -->
> 			<str name="spellcheck.extendedResults">true</str>
> 			<!--  The number of suggestions to return -->
> 			<str name="spellcheck.count">1</str>
> 			<!--  collate ther results for providing an easier 'correctly spelt query' -->
> 			<str name="spellcheck.collate">true</str>
> 		</lst>
> [... all default options after this]
> confirmed options .count , collate , extendedResults set in solrconfig.xml take no \
> effect on the query . They work as intended if added to the URL.

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic