You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by SolrUser1543 <os...@gmail.com> on 2014/11/18 21:50:21 UTC

AbstractSubTypeFieldType as a template

I need to implement indexing of hierarchical data , like post and its
comments . 
Each comment has few fields like username / text / date . 

There are few more types like comment that I need too . ( the only
difference is field names and its count)


There are LatLonType filed type , which derives from
AbstractSubTypeFieldType . This type allows to index a struct of two fields
which embedded to flat document  .

Is it possible to create a generic type named , e.g. GenericSubType , which
can get in its schema configuration names of fields and its types and allows
me to index a structures inside a flat document like LatLonType ? 

The most important point is correlation between values , because LatLon
creates two multi valued fields and uses values at the same index in both
fields . 

any ideas  ? 



--
View this message in context: http://lucene.472066.n3.nabble.com/AbstractSubTypeFieldType-as-a-template-tp4169740.html
Sent from the Solr - User mailing list archive at Nabble.com.