[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-269) Spell check functionality needed

Georges Polyzois (JIRA) noreply at atlassian.com
Fri Feb 12 06:08:29 EST 2010


    [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=35551#action_35551 ] 

Georges Polyzois commented on HSEARCH-269:
------------------------------------------

Any new updates? Very interesting indeed

> Spell check functionality needed
> --------------------------------
>
>                 Key: HSEARCH-269
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-269
>             Project: Hibernate Search
>          Issue Type: New Feature
>          Components: engine, mapping
>    Affects Versions: 3.1.0.Beta2
>            Reporter: John Griffin
>            Assignee: John Griffin
>
> From Emmanuel:
>  - more than one field and even more than one index should be the source of the dictionary
>  - declaring which field is part of a dictionary should be declarative @AddToDictionary(name="main-dictionary") 
>    (with probably an optional field name(s))
>  - for a given dictionary name, we need to associate an index and probably a field prefix (to share the same index 
>    for all dictionaries). This couold be by annotations or in the configuration (not sure)
>  - this index should be kept like any other DirectoryProvider in the HSearch intrastructure (we could then reuse 
>    ReaderProvider internally and don't have leaks). 
>  - we will probably add a manual dictionary reindex method and the SpellChecker API should be in the SearchFactory. 
>     sf.getDictionary("main-dictionary").spellcheck(word, suggestion);
>     sf.getDictionary("main-dictionary").spellcheck(word, suggestion, entity, properties...); //not sure how useful is this one really
>     sf.getDictionary("main-dictionary").reindex();
> this needs to be refined.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list