Hi Fergus,

The schema.xml has declaration of fields as well as analyzers/tokenizers
which are required as per the application demand. The easiest way is to
modify the schema.xml file which is delivered with
<apache_solr>/example/solr/conf.

In case you are looking for setting up Solr in front of database with
minimal manipulation of DB data, you can check it here
http://www.params.me/2011/03/configure-apache-solr-14-with-mysql.html. I
am using this setup in of my applications in production.

-param

On 1/25/12 11:10 AM, "Fergus McDowall" <fergusmcdow...@gmail.com> wrote:

>Is it do-able/sensible to build a schema.xml from the ground up?
>
>Say that you are feeding the results of a database query into solr
>containing the fields id(int), title(varchar), description(varchar),
>pub_date(date) and tags(varchar)
>
>What would be the simplest schema.xml that could support this structure
>in Solr?
>
>Fergus

Reply via email to