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: A feature idea for discussion -- fields that can only be explicitly retrieved
Date Sat, 14 Jan 2017 02:29:36 GMT
On 13 January 2017 at 14:40, Shawn Heisey <apache@elyograg.org> wrote:
> What if there were a schema option that would skip docValue retrieval
> for a field unless the fl parameter were to *explicitly* ask for that
> field?  With a typical wildcard value in fl, fields with this option
> enabled would not be retrieved.

Isn't that what useDocValuesAsStored="false" do? As per Ref Guide:
When useDocValuesAsStored="false", non-stored DocValues fields can
still be explicitly requested by name in the fl param, but will not
match glob patterns ("*").
https://cwiki.apache.org/confluence/display/solr/DocValues

Regards,
   Alex.

----
http://www.solr-start.com/ - Resources for Solr users, new and experienced

Mime
View raw message