aspose file tools*
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
JavaRanch » Java Forums » Products » JForum
Bookmark "Searching in Watch "Searching in New topic
Author

Searching in 'dirty foreign squiggly languages'

Migrated From Jforum.net
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 ...
"+" ...
"-" ...
"(" ...
"*" ...
QUOTED ...
TERM ...
PREFIXTERM ...
WILDTERM ...
"[" ...
"{" ...
NUMBER ...

... 36 more

URL is: /jforum.page?module=search&action=search&match_type=all&search_forum=&sort_by=relevance&sort_dir=DESC&search_keywords=+%CE



--
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?

Thanks
[originally posted on jforum.net by jforumapp]
Migrated From Jforum.net
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 jforum.net by jforumapp]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Searching in 'dirty foreign squiggly languages'