I guess my n00b-ness is showing :) I started off using the instructions directly from http://wiki.apache.org/solr/Solrj and there was no mention of schema there and even after gettign this error and searching for schema.xml in the wiki ... I found no meaningful hits so I thought it best to ask.
With your advice, I searched for schema.xml and found 13 instances of it: \solr_1.4.0\client\ruby\solr-ruby\solr\conf\schema.xml \solr_1.4.0\client\ruby\solr-ruby\test\conf\schema.xml \solr_1.4.0\contrib\clustering\src\test\resource\schema.xml \solr_1.4.0\contrib\extraction\src\test\resource\schema.xml \solr_1.4.0\contrib\velocity\src\main\solr\conf\schema.xml \solr_1.4.0\example\example-DIH\solr\db\conf\schema.xml \solr_1.4.0\example\example-DIH\solr\mail\conf\schema.xml \solr_1.4.0\example\example-DIH\solr\rss\conf\schema.xml \solr_1.4.0\example\multicore\core0\conf\schema.xml \solr_1.4.0\example\multicore\core1\conf\schema.xml \solr_1.4.0\example\solr\conf\schema.xml \solr_1.4.0\src\test\test-files\solr\conf\schema.xml \solr_1.4.0\src\test\test-files\solr\shared\conf\schema.xml I took a wild guess and added the field I wanted ("desc") into this file since its name seemed to be the most generic one: C:\apps\solr_1.4.0\example\solr\conf\schema.xml And it worked ... a bit strange that an example directory is used but I suppose it is configurable somewhere? Thanks for you help Erick! Cheers, - Pulkit On Thu, Feb 18, 2010 at 9:53 AM, Erick Erickson <erickerick...@gmail.com> wrote: > Add desc as a <field> in your schema.xml > file would be my first guess. > > Providing some explanation of what you're trying to do > would help diagnose your issues..... > > HTH > Erick > > On Thu, Feb 18, 2010 at 12:21 PM, Pulkit Singhal > <pulkitsing...@gmail.com>wrote: > >> I'm getting the following exception >> SEVERE: org.apache.solr.common.SolrException: ERROR:unknown field 'desc' >> >> I'm wondering what I need to do in order to add the "desc" field to >> the Solr schema for indexing? >> >