lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Update of "FieldAliasesAndGlobsInParams" by FergusMcMenemie
Date Mon, 22 Jun 2009 21:14:53 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The following page has been changed by FergusMcMenemie:
http://wiki.apache.org/solr/FieldAliasesAndGlobsInParams

The comment on the change is:
adding link to full "fl" documentation

------------------------------------------------------------------------------
  This was prompted by some ideas put forth  in [https://issues.apache.org/jira/browse/SOLR-247
SOLR-247] and in the mailing list threads linked to from that issue.  See also: [https://issues.apache.org/jira/browse/SOLR-456
SOLR-456] 
  
- for now this is a brainstorming page, if/when any of this gets implemented it can be reworked
into a documentation page for users.
+ For now this is a brainstorming page, if/when any of this gets implemented it can be reworked
into a documentation page for users.
  
  = Background =
  
- currently the fl param supports two "special" field names: "*" which means "any stored field",
and "score" which not only means "include the score in the response", but also informs the
request handler that scores should be computed.  the fl param is split on the regex Pattern
",| ".
+ Currently the [wiki:Self:CommonQueryParameters#head-db2785986af2355759faaaca53dc8fd0b012d1ab
fl] param supports two "special" field names: "*" which means "any stored field", and "score"
which not only means "include the score in the response", but also informs the request handler
that scores should be computed.  the fl param is split on the regex Pattern ",| ".
  
  The splitting happens in !SolrPluginUtils.setReturnFields, which parses (one and only one)
string "fl" param, and sets the field list on the !SolrQueryResponse, as well as returning
info about whether or not the list contained "score" so the handler has that info to work
with.
  

Mime
View raw message