Page 1 of 1

Searching error

PostPosted:Fri Feb 18, 2011 10:24 pm
by rafxel
Whenever I make a search with quotes I get the following error:
Code: Select all
OKM-008001(FindPaginated): Generic error executing query

Exception building query: org.apache.lucene.queryParser.ParseException: Cannot parse '\"search query\\"': Lexical error at line 1, column 20. Encountered: after : "" 
Is there a solution for this? How do I search for an expression with more than one term?

* I experienced the same problem in the demo provided at http://www.openkm.com. Also the instructions at http://www.openkm.com/index.php/Searching_with_OpenKM say you can search with quotes, but I simply couldn't.

Re: Searching error

PostPosted:Sat Feb 19, 2011 11:13 am
by jllort
Explain me the search you want doing

Re: Searching error

PostPosted:Mon Feb 21, 2011 4:39 pm
by pavila
Please, follow the issue at http://issues.openkm.com/view.php?id=1556 and give us feedback. Try the nightbuild tomorrow (commited the fix, but it build every at 00:00) and tell me if is fixed.

Re: Searching error

PostPosted:Tue Feb 22, 2011 7:53 pm
by rafxel
I would like to search for the expression "search query" and have OpenKM return only the documents who have that exact expression.
I don't want the documents that just have the term "search" in them, or just "query", or both but in separate parts of the text, for that you can use the operators (&, +, -).

jllort wrote:Explain me the search you want doing

Re: Searching error

PostPosted:Wed Feb 23, 2011 10:00 pm
by jllort
Take a look here http://wiki.openkm.com/index.php/Searching_with_OpenKM was a bug with " character but I think it's solved on last night build at integration.openkm.com

Re: Searching error

PostPosted:Fri Feb 25, 2011 5:43 pm
by rafxel
The new build is working fine. Thank you.