You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Christian Pich <cm...@cs.uoregon.edu> on 2007/12/21 19:42:07 UTC

Unsupported Mime Type

I am getting the following exception when I run our indexer:

Unsupported MIME type (text/html;charset=US-ASCII) type so ignoring: 
http://zfin.org/...

It appears if a page Http header does not specify a charset then the 
indexer runs fine.
Any help is appreciated.
-- 
------------------------------------------------------------------------
Christian Pich, Ph.D.
University of Oregon
Zebrafish Information Network
Phone: 541-346-1581
Email: cmpich@cs.uoregon.edu
Web: http://zfin.org
------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Re: Unsupported Mime Type

Posted by Christian Pich <cm...@cs.uoregon.edu>.
Thanks. You were right, in a different spot of the code somebody 
hard-coded mime types without
including charsets in there.

Christian

Grant Ingersoll wrote:
> Lucene knows nothing about mime types, so this is likely a problem 
> somewhere else in the chain.  Have a look at the stack trace to see 
> where the problem is.
>
> -Grant
>
> On Dec 21, 2007, at 1:42 PM, Christian Pich wrote:
>
>> I am getting the following exception when I run our indexer:
>>
>> Unsupported MIME type (text/html;charset=US-ASCII) type so ignoring: 
>> http://zfin.org/...
>>
>> It appears if a page Http header does not specify a charset then the 
>> indexer runs fine.
>> Any help is appreciated.
>> -- 
>> ------------------------------------------------------------------------
>> Christian Pich, Ph.D.
>> University of Oregon
>> Zebrafish Information Network
>> Phone: 541-346-1581
>> Email: cmpich@cs.uoregon.edu
>> Web: http://zfin.org
>> ------------------------------------------------------------------------
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: java-user-help@lucene.apache.org
>>
>
> --------------------------
> Grant Ingersoll
> http://lucene.grantingersoll.com
>
> Lucene Helpful Hints:
> http://wiki.apache.org/lucene-java/BasicsOfPerformance
> http://wiki.apache.org/lucene-java/LuceneFAQ
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org

-- 
------------------------------------------------------------------------
Christian Pich, Ph.D.
University of Oregon
Zebrafish Information Network
Phone: 541-346-1581
Email: cmpich@cs.uoregon.edu
Web: http://zfin.org
------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Re: Unsupported Mime Type

Posted by Grant Ingersoll <gs...@apache.org>.
Lucene knows nothing about mime types, so this is likely a problem  
somewhere else in the chain.  Have a look at the stack trace to see  
where the problem is.

-Grant

On Dec 21, 2007, at 1:42 PM, Christian Pich wrote:

> I am getting the following exception when I run our indexer:
>
> Unsupported MIME type (text/html;charset=US-ASCII) type so ignoring: http://zfin.org/ 
> ...
>
> It appears if a page Http header does not specify a charset then the  
> indexer runs fine.
> Any help is appreciated.
> -- 
> ------------------------------------------------------------------------
> Christian Pich, Ph.D.
> University of Oregon
> Zebrafish Information Network
> Phone: 541-346-1581
> Email: cmpich@cs.uoregon.edu
> Web: http://zfin.org
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>

--------------------------
Grant Ingersoll
http://lucene.grantingersoll.com

Lucene Helpful Hints:
http://wiki.apache.org/lucene-java/BasicsOfPerformance
http://wiki.apache.org/lucene-java/LuceneFAQ




---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org