org.apache.solr.handler.clustering.carrot2
@Bindable public class SolrStopwordsCarrot2LexicalDataFactory extends Object implements org.carrot2.text.linguistic.ILexicalDataFactory
ILexicalDataFactory that adds stop
words from a field's StopFilter to the default stop words used in Carrot2,
for all languages Carrot2 supports. Completely replacing Carrot2 stop words
with Solr's wouldn't make much sense because clustering needs more aggressive
stop words removal. In other words, if something is a stop word during
indexing, then it should also be a stop word during clustering, but not the
other way round.| Constructor and Description |
|---|
SolrStopwordsCarrot2LexicalDataFactory() |
| Modifier and Type | Method and Description |
|---|---|
org.carrot2.text.linguistic.ILexicalData |
getLexicalData(org.carrot2.core.LanguageCode languageCode) |
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.