jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: Indexing...
Date Wed, 04 Feb 2009 08:39:54 GMT
Michael Neale wrote:
> right so that looks like by default it will index plain text ??

it will, but please note that text extraction only works for the jcr:data binary
property of an nt:resource node. this restriction is due to additional
information that is required to correctly extract text from a stream (i.e. mime
type and encoding). for plain text you have to set the jcr:mimeType property on
the nt:resource node to text/plain and set jcr:encoding to an appropriate value.
see also: http://wiki.apache.org/jackrabbit/nt:resource

regards
 marcel

Mime
View raw message