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

Reply via email to