Greetings,

I am planning to write some code for a Zimlet which will search specific fields in an Appointment. For this I need to understand the Grammar of the element <query></query> in the Search request.

I have downloaded the source of Zimbra 4.5.6, but I could not find the Grammar file which is used by the Zimbra Server to parse the search queries. As far as I understand Zimbra uses Java CC parser to read the Grammar files and generate the Code.
Please let me know if my understanding is incorrect.


I would like to know if these Grammar files are also shipped with the Zimbra 4.5.6 Open Source edition? If it is shipped please let me know where could I find the Grammar file for the Search queries?

Any help in this regard will be greatly appreciated.