Hi,
   I use the below query to check if the both of the word are there in the
document.

http://localhost:18080/solr/select?defType=dismax&pf=tagged_skills
^100&q=java+ejb+Spring&qf=tagged_skills&q.op=AND

I am not sure how to execute the same thing using Solr Java client.

SolrQuery query = new SolrQuery();
        query.setQuery( "tagged_skills:\"java+and+ejb\"" );
        QueryResponse rsp = server.query( query );
        SolrDocumentList docs = rsp.getResults();


Also not sure how to check if the given search is there in title and
tageed_skills field.

Could you please help me on this?


Thanks,
Baskar.S

Reply via email to