AnsweredAssumed Answered

Solr x Lucene

Question asked by rodrigoa on Jul 31, 2012
Latest reply on Aug 1, 2012 by mrogers
Hello everyone,

In my project I create a query to work with lucene, like this:

lQuery = new Query( Constants.QUERY_LANG_LUCENE, "PRIMARYPARENT:\"" + STORE.getScheme() + "://" + STORE.getAddress() + "/" + aParentRef.getUuid() + "\" AND @cm\\:" + SyncConstants.KEY_NAME + ":\"" + aNodeName + "\"" );

But now I need to insert the possibility to work with Solr to. Could anyone tell me the syntax to create the query?

Thanks very much,

Rodrigo

Outcomes