lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandre Rafalovitch <arafa...@gmail.com>
Subject Re: set solr to return only doc ids and highlighting
Date Mon, 27 Oct 2014 14:25:00 GMT
Have you looked at 'fl' parameter? You can experiment with that in the Admin UI.

Regards,
  Alex.
Personal: http://www.outerthoughts.com/ and @arafalov
Solr resources and newsletter: http://www.solr-start.com/ and @solrstart
Solr popularizers community: https://www.linkedin.com/groups?gid=6713853


On 27 October 2014 09:48, john eipe <john77eipe@gmail.com> wrote:
> Hi
>
> My solr searches with highlighting returns documents (with all fields) that
> contain the search words and highlighting.
>
> Is there a way to restrict so that I get only id field + highlighting.
>
> <result name="response" numFound="1" start="0">
> <doc>
> <str name="id">1253</str>
> </doc>
> </result>
> <lst name="highlighting">
> ....
> </lst>
>
>
> Regards,
> John Eipe
>
> “The Roots of Violence: Wealth without work, Pleasure without conscience,
> Knowledge without character, Commerce without morality, Science without
> humanity, Worship without sacrifice, Politics without principles”
> - Mahatma Gandhi

Mime
View raw message