jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: No hits returned when searching .txt file
Date Mon, 27 Mar 2006 16:37:07 GMT
thomasg wrote:
> Thanks for your advice. I tried creating my text file using notepad and
> choosing UTF-8 as the Encoding in the save dialogue. I added this to my
> code:
> 
> resourceNode.setProperty("jcr:encoding", "UTF-8"); //Also tried "UTF8"
> 
> Unfortunately my query still returns no hits. Would you expect this to work
> or can you please suggest a better combination of encodings and encoding
> string to try.

This is expected to work and it also does with my little test case I've 
just written.

Could you please check if the 
org.apache.jackrabbit.core.query.lucene.TextPlainTextFilter is part of 
the list of text filter classes in your configuration?

regards
  marcel


Mime
View raw message