Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 3111 by Search works only for word-characters. Does not for code or special characters

*** You must complete this form in its entirety, or your bug report will be
*** For customer support, please post to
*** If you have a patch, please submit it to
*** Do not post confidential information in this bug report!

What version are you running?

What's the URL of the page containing the problem?
Internal Server Error: /r/search/

What steps will reproduce the problem?
1. Use ReviewBoard search to find part of the code containing some special strings or characters. For example $#line -= 1 ; {} or 409eitjugrew0[tu4

What is the expected output? What do you see instead?
I should see the page with search results. I see error page from web browser (server didn't send an answer) or apache itself (internal error).

What operating system are you using? What browser?
Ubuntu 13.04 as RB server and Firefox/IE8/Chromium for issue testing

Please provide any additional information below.

I use RB 1.7.16 and PyLucene 3.6.2-1 as 4.x is not supported. Review Board search works fine for normal word-characters but search for some special characters causes internal failure. Try to search 409eitjugrew0%5Btu4. Web browser will show Error 500 or "No data received". Apache will also fail and show following error log:

[Thu Oct 17 09:31:59 2013] [notice] child pid 1445 exit signal Segmentation fault (11)

RB will return following error log:

None - admin1 - /r/search/ - Internal Server Error: /r/search/
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Django-1.4.8-py2.7.egg/django/core/handlers/", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.16-py2.7.egg/reviewboard/accounts/", line 20, in _check
    return login_required(view_func)(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/Djblets-0.7.21-py2.7.egg/djblets/auth/", line 47, in _checklogin
    return view_func(request, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.16-py2.7.egg/reviewboard/reviews/", line 1413, in search
    for hit in, 100).scoreDocs]
JavaError: org.apache.lucene.queryParser.ParseException: Cannot parse '409eitjugrew0[tu4': Encountered "<EOF>" at line 1, column 17.
Was expecting one of:
    "TO" ...
    <RANGEIN_GOOP> ...

    Java stacktrace:
org.apache.lucene.queryParser.ParseException: Cannot parse '409eitjugrew0[tu4': Encountered "<EOF>" at line 1, column 17.
Was expecting one of:
    "TO" ...
    <RANGEIN_GOOP> ...

        at org.apache.lucene.queryParser.QueryParser.parse(
Caused by: org.apache.lucene.queryParser.ParseException: Encountered "<EOF>" at line 1, column 17.
Was expecting one of:
    "TO" ...
    <RANGEIN_GOOP> ...

at org.apache.lucene.queryParser.QueryParser.generateParseException( at org.apache.lucene.queryParser.QueryParser.jj_consume_token(
        at org.apache.lucene.queryParser.QueryParser.Term(
at org.apache.lucene.queryParser.QueryParser.TopLevelQuery(
        at org.apache.lucene.queryParser.QueryParser.parse(

You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:

You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To post to this group, send email to
Visit this group at
For more options, visit

Reply via email to