Rephrasing: I do realize that I would be able to "flatten" my Lucene Query-object to its String-representation and possibly use that as a query input to SolrQuery. But would that work for all queries ... or is the Lucene object-representation more expressive (i.e. richer) than the string-rep?
Maybe this is really noob questions, sorry if that is the case - I am really new to lucene/solr. Tobias 2008/8/29 Tobias Hill <[EMAIL PROTECTED]> > Hi, > > I am process of moving from HibernateSearch (backed by Lucene) to Solr > (ditto) > in our application- > > In HibernateSearch I use the Query-class provided by Lucene to build a > rather > intricate query programatically. > > I would like to make my transition into Solr + Solrj as smooth as possible > and > hence I wonder if it is possible to reuse my Lucene Query but directing it > to solr > instead in some way. Any way to convert a Lucene Query into SolrQuery for > instance? Or some other way? > > Thankful for any thoughts on this, > Tobias > > > > >