On 7/14/2015 4:44 AM, spleenboy wrote: > Many Thanks to those who helped me on my last post: I'm almost there. > So here is the doc I need to index: > { > "doc": > { > "id":"2", > "cus_name_s":"Paul Brown", > "cus_email_t":["paul.br...@here.net"], > "com_id_i":201, > "com_name_s":"Berenices", > "url_s":"domain.net/integration/"}} > > I only need to be able to search on email. > My plan was to to use classic, as I was going to run this on a single node. > I am happy to use dynamic fields to define the structure of the doc, so I > don't think I need a schema.xml: I think this is classic/schemaless (?) > I am still a little confused between schemaless and managed schema. > Do I implement this using the right combination of parameters in my bin/solr > create_core command. > Also, does the fact that I intend to use a data import handler to run feeds > from large numbers of oracle schemas have any impact on the above?
The "schemaless" mode isn't really schemaless ... it just means that Solr will automatically guess what fieldType to use for a field that has never been seen before, and then modify the schema to include that field with the guessed fieldType. It's sort of like the managed schema, except it's managed automatically instead of by the admin. I personally would not want Solr to guess on the schema, I would want to explicitly define Solr's behavior ... but not everyone does things the same way that I do. Thanks, Shawn