I saw two methods in SolrServer: addBean( Object bean ) and add (SolrDocument doc ).
My question is:
If I can add objects directly using addBean(), do I need to create any schema for the object? Doesn't Solr look at fields of the object and determine the schema from there?
Or does Solr serialize the object into a string first and then proceeds with a normal add? (This might require schema specification)