Again, note that it should be index_ed_="false". "ed" - very important! If you're saying index="false", Solr is not reading that attribute at all, and going with the default for the field type.

        Erik

On Mar 2, 2010, at 4:31 PM, Thomas Nguyen wrote:

For testing purposes. I just wanted to see if unindex fields in documents added by Lucene API were searchable by Solr. This is after discovering that the unindexed fields in documents added by Solr are searchable.

-----Original Message-----
From: Ahmet Arslan [mailto:iori...@yahoo.com]
Sent: Tuesday, March 02, 2010 1:23 PM
To: solr-user@lucene.apache.org
Subject: RE: Unindexed Fields Are Searchable?

My schema has always had
index="false" for that field.  I only stopped and
restarted the servlet container when I added a document to
the index using the Lucene API instead of Solr.

Is there a special reason/use-case for to add documents using Lucene API?





Reply via email to