lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Lewis (JIRA)" <>
Subject [jira] Updated: (SOLR-382) SpellCheckerRequestHandler does not apply the onlyMorePopular flag.
Date Wed, 17 Oct 2007 01:31:50 GMT


Dave Lewis updated SOLR-382:

    Attachment: SpellCheckRequestHandler.patch

The patch to set the value of onlyMorePopular from the request and to pass non-null IndexReader
and search field to SpellChecker.suggestSimilar().

> SpellCheckerRequestHandler does not apply the onlyMorePopular flag.
> -------------------------------------------------------------------
>                 Key: SOLR-382
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>            Reporter: Dave Lewis
>            Priority: Minor
>         Attachments: SpellCheckRequestHandler.patch
> The onlyMorePopular member does not have its value changed to meet the parameter when
it is passed in.  On top of that, even when it is passed in, the suggestSimilar method on
SpellChecker will ignore it anyway because the ir and field parameters are passed in as null.
> This patch sets onlyMorePopular according to the request, and passes in a non-null IndexReader
and the search field we've already initialized.
> Because the IndexReader currently being used is named nullReader, I may be missing a
reason it is disabled on purpose.
> This patch is working well for us so far.

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

View raw message