Skip to content

Ability to return score #15

@tomchiverton

Description

@tomchiverton

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions