This week's book giveaway is in the Open Source forum.
We're giving away four copies of RabbitMQ in Depth and have Gavin Roy on-line!
See this thread for details.
The moose likes JForum and the fly likes Searching in 'dirty foreign squiggly languages' Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of RabbitMQ in Depth this week in the Open Source forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "Searching in Watch "Searching in New topic

Searching in 'dirty foreign squiggly languages'

Migrated From
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
riveting update!

So I had a chance to test this again, the error is below, snipped a little. I've searched this forum for InvocationTargetException and ParseException but to no avail.

I will look at the lucene docs and post what I find here.

net.jforum.exceptions.ForumException: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Caused by: org.apache.lucene.queryParser.ParseException: Cannot parse '': Encountered "EOF" at line 1, column 0.
Was expecting one of:
NOT ...
"+" ...
"-" ...
"(" ...
"*" ...
TERM ...
"[" ...
"{" ...

... 36 more

URL is: /

Anyway, this post is about those nuisance squiggly writing countries! I just did a quick test with latin and then some 'foreign' stuff. The latin search works, the goobldygook stuff causes an error.

If this my database fault (mysql setup? I have client and everything set to utf-8 in my.conf) or is this a jforum hiccup?

[originally posted on by jforumapp]
Migrated From
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Didn't find anything on the googles about lucene and parse exception being caused by UTF-8, I'll look at the accept encoding headers perhaps.

I am still treating this a little black-box - I hope it is a config issue... :-/

[originally posted on by jforumapp]
I agree. Here's the link:
subject: Searching in 'dirty foreign squiggly languages'