Query Processing

Topics: General
Oct 18, 2014 at 6:03 PM
First off, I would like to thank everyone who worked on the base product. This has been extremely helpful in helping me get a CMIS server up and running very quickly.

I am now at the point where I need to process queries, and wanted to bounce my strategy off the group to see if anyone has implemented this using better method.

Looking at how they handle this in OpenCMIS (http://chemistry.apache.org/java/how-to/how-to-process-query.html), one of the methods uses an open source parser named ANTLR to handle the parsing. OpenCMIS includes an ANTLR "grammar file" that describes the CMISQL syntax.

To replicate this on the .Net platform, my plan is to integrate the C# version of ANTLR into my project and then pull the CMISQL ANTLR grammar file from OpenCMIS. The result should be a full replication of the capabilities they have on the Java platform.

Any thoughts on this strategy? If it works out, I'll be happy to provide the resulting source so that it can be added to this project.