lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Solr Wiki] Update of "LanguageDetection" by GrantIngersoll
Date Sun, 05 Dec 2010 14:23:46 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "LanguageDetection" page has been changed by GrantIngersoll.


New page:
= Solr's Language Detection =

<!> [[Solr4.0]]


= Introduction =

This feature adds the ability to detect the language of a document before indexing and then
make appropriate decisions about analysis, etc.  It currently relies on Tika's language detection
capabilities, which covers many, but not all, languages.  See
for more information on the languages supported.

= Configuration =

= Input Parameters =

= Examples =

= Caveats =

Since Tika uses an n-gram based approach to detection, it is susceptible to poor detection
on especially short inputs.  We rely on Tika's LanguageIdentifier.isReasonablyCertain() method
to indicate the confidence Tika has in the detection.  There currently is not a way to pass
in your own threshold, but see for more info.

= Resources =


View raw message