lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Matheis <>
Subject Re: Show the score in the search result
Date Thu, 17 Apr 2014 10:31:56 GMT
The wiki contains an explanation for that as well :)

It includes all fields the document actually has. and since there is no 'score' field included
in your document, it won't get displayed. it's a so called virtual-field, which you have to
request explicitly.


On Thursday, April 17, 2014 at 11:09 AM, Croci Francesco Luigi (ID SWS) wrote:

> I think you mean this row:
> <str name="fl">* ,fullText: ...</str>
> Ok, but what I understood is that the "*" means that ALL the fields are displayed anyway.
Or not?
> Francesco
> -----Original Message-----
> From: Stefan Matheis [] 
> Sent: Donnerstag, 17. April 2014 10:04
> To: (
> Subject: Re: Show the score in the search result
> That's exactly what Jack mentioned, you're defining an invariant for fl, which ignores
everything you provide at runtime. 
> From
> "invariants - provides param values that will be used in spite of any values provided
at request time. They are a way of letting the Solr maintainer lock down the options available
to Solr clients."
> -Stefan 

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message