Because I need to store it to get highlighting to work from the
extracted text.

The problem now, is that unless I specify only the fields I want, I will
get back the store text field which is huge.

I use a lot of dynamic fields, so I cannot simply tell Solr which fields
I want in the query.

Could this be a needed capability in Solr? It seems like a problem that
a "-field" operator would help, that simply does not return those
fields.

thoughts?

Darren

On Wed, 2010-04-28 at 11:18 +0200, Bohnsack, Sven wrote:

> What about change the schema.xml and classify the field as stored:false
> 
> E.g.:
> <field name="myfieldname" type="string" indexed="true" stored="false"/> <-- 
> searchable, but value ist not returned in the Solr-Response.
> 
> HTH,
> Sven
> 
> -----Ursprüngliche Nachricht-----
> Von: Darren Govoni [mailto:dar...@ontrenet.com] 
> Gesendet: Dienstag, 27. April 2010 20:39
> An: solr-user@lucene.apache.org
> Betreff: Don't return field from query
> 
> Hi Solrnauts,
>     I know I can specify in my query which fields I want. But is there a
> way to specify that I DON'T want a given field
> returned (e.g. because its too large or whatever).
> 
> thanks for the tip!


Reply via email to