lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl <>
Subject Re: problem in setting field attribute in schema.xml
Date Wed, 25 May 2011 13:59:59 GMT
You probably get tricked by an old index which was created while you had stored=true

Delete your index, restart Solr, re-index content and try again.

Solr will happily serve what's in the Lucene index even if it does not match your current
schema - that's why it's important to re-index everything if you make changes to the schema
and you want those changes to be visible.

Jan Høydahl, search solution architect
Cominvent AS -

On 25. mai 2011, at 15.47, Vignesh Raj wrote:

> It's very strange. Even I tried the same now and am getting the same result.
> I have set both indexed=false and stored=false.
> But still if I search for a keyword using my default search, I get the
> results in these fields as well.
> But if I specify field:value, it shows 0 results.
> Can anyone explain? 
> Regards
> Vignesh
> -----Original Message-----
> From: Romi [] 
> Sent: 25 May 2011 18:42
> To:
> Subject: Re: problem in setting field attribute in schema.xml
> if i do stored=false then it indexes the data but not shows the data in
> search result. but in my case i do not want to index the data for a field
> and to the my surprise even if i am doing indexed="false" for this field, i
> am still able to get that data through the query *:* but not getting the
> data if i run filter query as field:value, its really confusing what solr is
> doing. 
> -----
> Romi
> --
> View this message in context:
> ema-xml-tp2984126p2984239.html
> Sent from the Solr - User mailing list archive at

View raw message