> We construct our query by Lucene API > before, as BooleanQuery, TermQuery > those kind of things.
Okey, it seems that your field are not analyzed and you don't do any analysis while construction of your query by Lucene API. Correct? Then you can use your existing Java code directly inside a solr plugin. http://wiki.apache.org/solr/SolrPlugins#QParserPlugin Existing sub-classes QParserPlugin can give you an idea.