Lucene is an open source project providing java based indexing and search tenologies.
The documentation of the operators depict the structure of the schema quite well already. For more details refer directly to the the AnyFinderAdvancedSearch.xsd that comes with the distribution.