On 15 September 2013 21:36, Baskar Sikkayan <baskar....@gmail.com> wrote:
>
> Hi,
>   Thanks for the reply. I got it now. Is there XSD for schema.xml and
> solrconfig.xml?
> Also, if i have two different fields with different filed type, how can
> differentiate it in SolrJava client.
>
> SolrInputDocument doc = new SolrInputDocument();
>
>               doc.addField("cat", "book");
>               doc.addField("id", "book-" + i);
>               doc.addField("name", "The Legend of the Hobbit part " + i);
>               server.add(doc);
>
> Is there any option here to put the field type?
[...]

Field types are defined in schema.xml.

I would again suggest approaching things systematically,
and understanding how the various pieces work.

Regards,
Gora

Reply via email to