I expected something like
ampleSolrInstance.search(q=t,start=0,end=100,params={sort='score desc',fl=["id","name","title","score"]})
to change the fields returned to include each documents score, but it doesn't. Is 'params' not the place to pass in additional parameters ?
I was trying to get back the same as doing
http://localhost:8983/solr/select/?q=brown&fl=id,name,title,position,score&sort=score desc
directly.
Reading the JavaDocs of ...solrj.SolrQuery wasn't very insightful sadly.
I expected something like
ampleSolrInstance.search(q=t,start=0,end=100,params={sort='score desc',fl=["id","name","title","score"]})
to change the fields returned to include each documents score, but it doesn't. Is 'params' not the place to pass in additional parameters ? I was trying to get back the same as doing http://localhost:8983/solr/select/?q=brown&fl=id,name,title,position,score&sort=score desc directly.Reading the JavaDocs of ...solrj.SolrQuery wasn't very insightful sadly.