On Mon, Sep 1, 2014 at 2:14 AM, Ankit Jain <ankitjainc...@gmail.com> wrote:
> I want to use schema less feature Solr because the schema is created at
> runtime as per user input.

Did you actually look at dynamic fields? Multiple CMS products are
using Solr to allow user create fields at runtime by using appropriate
prefixes/suffixes to indicate type. Schema less approach is to guess
the type based on content (not recommended for production for either
Solr or ES). If your UI knows the type, you just map it to the field
name indicating it. Yes, you will need to keep the mapping somewhere
forever, but you are probably keeping both name and it's type
somewhere as well.

Finally, do not confuse ElasticSearch types with Solr types. In
ElasticSearch, type=text just means it is not a string. Then, you have
to specify an analyzer chain separately. In Solr, we don't use the
extra layer but specify analyzers explicitly. Ok, maybe this is a bit
more confusing (I'll figure out the exact language by the November
conference), but the point is that the terminology is not matching
between ES and Solr.

Regards,
   Alex.

Personal: http://www.outerthoughts.com/ and @arafalov
Solr resources and newsletter: http://www.solr-start.com/ and @solrstart
Solr popularizers community: https://www.linkedin.com/groups?gid=6713853

Reply via email to