No, there is only "list of fields", star, and score.  You can choose
to index it and not store it, and then have your application fetch it
from the original data store. This is a common system design pattern
to avoid storing giant text blobs in the index.

http://wiki.apache.org/solr/FieldAliasesAndGlobsInParams

On Fri, Oct 2, 2009 at 1:27 PM, Paul Rosen <p...@performantsoftware.com> wrote:
> Hi,
>
> Is there a way to request all fields in an object EXCEPT a particular one?
> In other words, the following pseudo code is what I'd like to express:
>
> req = Solr::Request::Standard.new(:start => page*size, :rows => size,
> :query => my_query, :field_list => [ ALL EXCEPT 'text' ])
>
> Is there a way to say that?
>
> I know I could figure out all possible fields and make an array of them, but
> that list is likely to change over time and I'm sure to forget to update it.
>
> I need to do that because the text field is not needed and is likely to be
> really large so the queries will be much faster if it isn't returned.
>
> Thanks,
> Paul
>



-- 
Lance Norskog
goks...@gmail.com

Reply via email to