[ https://issues.apache.org/jira/browse/SOLR-3653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13419096#comment-13419096 ]
Robert Muir commented on SOLR-3653: ----------------------------------- {quote} The "Smart" Simplified Chinese toolkit in lucene/analysis/smartcn has no Solr factories {quote} Actually there are factories in contrib/analysis-extras. {quote} and includes a "fixup" class to handle the occasional mistake made by the Smart Chinese implementation. {quote} I am not sure on this: if someone wants to mix an n-gram technique with a word model, they can just use two fields? If they want to limit the n-gram field to only longer terms, they should use LengthFilter. Furthermore, I don't really understand the problem here. The word you are upset about (中华人民共和国) is in the smartcn dictionary. As I understand, this word basically means "PRC". This is a single concept and makes sense as an indexing unit. Why do we care how long it is in characters? > Support Smart Simplified Chinese in Solr - include clean-up bigramming filter > ----------------------------------------------------------------------------- > > Key: SOLR-3653 > URL: https://issues.apache.org/jira/browse/SOLR-3653 > Project: Solr > Issue Type: New Feature > Components: Schema and Analysis > Reporter: Lance Norskog > Attachments: SOLR-3653.patch, SmartChineseType.pdf > > > The "Smart" Simplified Chinese toolkit in lucene/analysis/smartcn has no Solr > factories. Also, since it is a statistical algorithm, it is not perfect. > This patch supplies factories and a schema.xml type for the existing Lucene > Smart Chinese implementation, and includes a "fixup" class to handle the > occasional mistake made by the Smart Chinese implementation. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org