From dev-return-10608-apmail-jackrabbit-dev-archive=jackrabbit.apache.org@jackrabbit.apache.org Thu Feb 01 19:55:30 2007 Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 97154 invoked from network); 1 Feb 2007 19:55:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Feb 2007 19:55:29 -0000 Received: (qmail 34359 invoked by uid 500); 1 Feb 2007 19:55:33 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 34317 invoked by uid 500); 1 Feb 2007 19:55:33 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 34282 invoked by uid 99); 1 Feb 2007 19:55:33 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2007 11:55:33 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2007 11:55:26 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C55867142E2 for ; Thu, 1 Feb 2007 11:55:05 -0800 (PST) Message-ID: <9981397.1170359705806.JavaMail.jira@brutus> Date: Thu, 1 Feb 2007 11:55:05 -0800 (PST) From: "Paco Avila (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Commented: (JCR-728) Automatic MIME type detection In-Reply-To: <8170251.1170352145583.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12469564 ] Paco Avila commented on JCR-728: -------------------------------- Why LGPL is troublesome? Source code using a LGPL library does not have to be LGPL or GPL. A port of libmagic to Java should be nice because there is lots of MIME definitions in its format. And yes, I think that is more useful to add more functionality to jackrabbit-index-filters. By the way some MS Office files thows errors when they are indexed. I know this is a POI issue, but is this project abandoned? There is no updates since 04-08-2004 :( > Automatic MIME type detection > ----------------------------- > > Key: JCR-728 > URL: https://issues.apache.org/jira/browse/JCR-728 > Project: Jackrabbit > Issue Type: Improvement > Components: indexing > Reporter: Jukka Zitting > Priority: Minor > > Currently only the jcr:mimeType property is used to determine the MIME type and thus the applicable text extractor to use for indexing a document. If the jcr:mimeType property is not available or is set to a generic value like "application/octet-stream", then the indexer could also use some heuristics based on the node name or magic numbers within the binary stream to determine the type of the document. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.