Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 79180 invoked from network); 5 Dec 2010 15:28:35 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Dec 2010 15:28:35 -0000 Received: (qmail 4266 invoked by uid 500); 5 Dec 2010 15:28:34 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 4107 invoked by uid 500); 5 Dec 2010 15:28:34 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 4100 invoked by uid 99); 5 Dec 2010 15:28:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Dec 2010 15:28:34 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Dec 2010 15:28:33 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oB5FSDZV006092 for ; Sun, 5 Dec 2010 15:28:13 GMT Message-ID: <3521204.117521291562893371.JavaMail.jira@thor> Date: Sun, 5 Dec 2010 10:28:13 -0500 (EST) From: =?utf-8?Q?Jan_H=C3=B8ydahl_=28JIRA=29?= To: dev@lucene.apache.org Subject: [jira] Commented: (SOLR-1979) Create LanguageIdentifierUpdateProcessor MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-1979?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D12966= 970#action_12966970 ]=20 Jan H=C3=B8ydahl commented on SOLR-1979: ----------------------------------- The idField input parameter is just used for decent logging if detection fa= ils. It would be more elegant to get the id field name automatically throug= h SolrCore... > Create LanguageIdentifierUpdateProcessor > ---------------------------------------- > > Key: SOLR-1979 > URL: https://issues.apache.org/jira/browse/SOLR-1979 > Project: Solr > Issue Type: New Feature > Components: update > Reporter: Jan H=C3=B8ydahl > Assignee: Grant Ingersoll > Priority: Minor > Attachments: SOLR-1979.patch > > > We need the ability to detect language of some random text in order to ac= t upon it, such as indexing the content into language aware fields. Another= usecase is to be able to filter/facet on language on random unstructured c= ontent. > To do this, we wrap the Tika LanguageIdentifier in an UpdateProcessor. Th= e processor is configurable like this: > {code:xml}=20 > > name,subject > language_s > id > en > > {code}=20 > It will then read the text from inputFields name and subject, perform lan= guage identification and output the ISO code for the detected language in t= he outputField. If no language was detected, fallback language is used. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org