DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<https://issues.apache.org/bugzilla/show_bug.cgi?id=44475>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

https://issues.apache.org/bugzilla/show_bug.cgi?id=44475

           Summary: provide user feedback for missing (or invalid) search
                    parameter
           Product: Lenya
           Version: Trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Lucene Integration
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


currently the search usecase results in a error when the search string

a) is empty (occurs
when clicking on "Go" or when clicking on a language icon on the search results 
page (see
43816)
b) starts with a "+"
c) starts with a "*"

(maybe some more...)

I think it would
be nice to let the user know what happened and describe the problem on the 
(empty) search
results page

a) "Your search  must not contain more than 1 character"
b)/c) "Your search
 must not start with the keyword + or *"

I was trying to find the right place to check
the parameters and provide feedback

- regex matcher in lucene/sitemap.xmap?
- implement
the parameter checking in search.jx?
- or rather using java?

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to