cancel
Showing results for 
Search instead for 
Did you mean: 

Solr x Lucene

rodrigoa
Champ in-the-making
Champ in-the-making
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
1 REPLY 1

mrogers
Star Contributor
Star Contributor
there's no difference. solr can process lucene queries as well.