I don't think there is a way to do that.

On Thu, Jul 30, 2009 at 1:39 PM, Edwin
Stauthamer<estautha...@emidconsult.com> wrote:
> Hi,
>
> I want to index a perfectly good solr XML-file into an Solr/Lucene instance.
> The problem is that the XML has many fields that I don't want to be indexed.
>
> I tried to index the file but Solr gives me an error because the XML
> contains fields that I have not declared in my schema.xml
>
> How can I tell Solr to skip unwanted fields and only index the fields that I
> have declared in my schema.xml?
>
> I know it must be something with a catchall setting and / or copyFields but
> I can not get the configuration right. To be clear. I want Solr to index /
> store only a few fields from the XML-file to be indexed and skip all the
> other fields.
>
> An answer or a link to a good reference would help.
>



-- 
-----------------------------------------------------
Noble Paul | Principal Engineer| AOL | http://aol.com

Reply via email to