I'm new to SOLR and wonder if there is such a concept as query with parameters, like we have in sql select * from my_table where my_field = ?
Is it possible to use similar concept in SOLR, like String query = "my_field:?";
Otherwise how query parameters should be handled with sorlj, if I would like to implement something like this:
public List<Customer> findCustomersByLastName(String lastName) {
SolrQuery query = new SolrQuery();
query.setQuery( "lastName:?" );
...
Cannot believe that string concatenation should be used at this case.