You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2011/08/02 15:03:27 UTC

[jira] [Created] (SOLR-2688) switch solr 4.0 example to DirectSpellChecker

switch solr 4.0 example to DirectSpellChecker
---------------------------------------------

                 Key: SOLR-2688
                 URL: https://issues.apache.org/jira/browse/SOLR-2688
             Project: Solr
          Issue Type: Improvement
          Components: spellchecker
    Affects Versions: 4.0
            Reporter: Robert Muir


For discussion: we might want to switch the Solr 4.0 example to use DirectSpellChecker, which doesn't need an extra index or build/rebuild'ing.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (SOLR-2688) switch solr 4.0 example to DirectSpellChecker

Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-2688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13078353#comment-13078353 ] 

Robert Muir commented on SOLR-2688:
-----------------------------------

I'll work up a patch, might tweak the example a bit for the time being, I'd like to err on the side of performance.

Note: with LUCENE-3030, Mike has really sped this guy up again.

> switch solr 4.0 example to DirectSpellChecker
> ---------------------------------------------
>
>                 Key: SOLR-2688
>                 URL: https://issues.apache.org/jira/browse/SOLR-2688
>             Project: Solr
>          Issue Type: Improvement
>          Components: spellchecker
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>
> For discussion: we might want to switch the Solr 4.0 example to use DirectSpellChecker, which doesn't need an extra index or build/rebuild'ing.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (SOLR-2688) switch solr 4.0 example to DirectSpellChecker

Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-2688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13076201#comment-13076201 ] 

Michael McCandless commented on SOLR-2688:
------------------------------------------

+1


> switch solr 4.0 example to DirectSpellChecker
> ---------------------------------------------
>
>                 Key: SOLR-2688
>                 URL: https://issues.apache.org/jira/browse/SOLR-2688
>             Project: Solr
>          Issue Type: Improvement
>          Components: spellchecker
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>
> For discussion: we might want to switch the Solr 4.0 example to use DirectSpellChecker, which doesn't need an extra index or build/rebuild'ing.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (SOLR-2688) switch solr 4.0 example to DirectSpellChecker

Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-2688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Muir updated SOLR-2688:
------------------------------

    Attachment: SOLR-2688.patch

attached is a patch.

one thing i found, is this spellchecker didnt set its query analyzer which is only sometimes used? by the spellchecking framework, if you use spellcheck.q versus q.

so I fixed this in the patch, to set its queryAnalyzer like the index-baed one.

> switch solr 4.0 example to DirectSpellChecker
> ---------------------------------------------
>
>                 Key: SOLR-2688
>                 URL: https://issues.apache.org/jira/browse/SOLR-2688
>             Project: Solr
>          Issue Type: Improvement
>          Components: spellchecker
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>         Attachments: SOLR-2688.patch
>
>
> For discussion: we might want to switch the Solr 4.0 example to use DirectSpellChecker, which doesn't need an extra index or build/rebuild'ing.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (SOLR-2688) switch solr 4.0 example to DirectSpellChecker

Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-2688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Muir updated SOLR-2688:
------------------------------

    Attachment: SOLR-2688.patch

sorry, last patch was from an ancient checkout... I realized it almost immediately but it took this long to svn update...

> switch solr 4.0 example to DirectSpellChecker
> ---------------------------------------------
>
>                 Key: SOLR-2688
>                 URL: https://issues.apache.org/jira/browse/SOLR-2688
>             Project: Solr
>          Issue Type: Improvement
>          Components: spellchecker
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>         Attachments: SOLR-2688.patch, SOLR-2688.patch
>
>
> For discussion: we might want to switch the Solr 4.0 example to use DirectSpellChecker, which doesn't need an extra index or build/rebuild'ing.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (SOLR-2688) switch solr 4.0 example to DirectSpellChecker

Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-2688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13076237#comment-13076237 ] 

Mark Miller commented on SOLR-2688:
-----------------------------------

+1 - not only is it better in almost every way IMO, but it lets you avoid the very nasty IndexReader leak in the current index based API.

> switch solr 4.0 example to DirectSpellChecker
> ---------------------------------------------
>
>                 Key: SOLR-2688
>                 URL: https://issues.apache.org/jira/browse/SOLR-2688
>             Project: Solr
>          Issue Type: Improvement
>          Components: spellchecker
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>
> For discussion: we might want to switch the Solr 4.0 example to use DirectSpellChecker, which doesn't need an extra index or build/rebuild'ing.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Resolved] (SOLR-2688) switch solr 4.0 example to DirectSpellChecker

Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-2688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Muir resolved SOLR-2688.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 4.0
         Assignee: Robert Muir

> switch solr 4.0 example to DirectSpellChecker
> ---------------------------------------------
>
>                 Key: SOLR-2688
>                 URL: https://issues.apache.org/jira/browse/SOLR-2688
>             Project: Solr
>          Issue Type: Improvement
>          Components: spellchecker
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>            Assignee: Robert Muir
>             Fix For: 4.0
>
>         Attachments: SOLR-2688.patch, SOLR-2688.patch
>
>
> For discussion: we might want to switch the Solr 4.0 example to use DirectSpellChecker, which doesn't need an extra index or build/rebuild'ing.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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