Package org.geotools.data.solr.SolrUtils

Examples of org.geotools.data.solr.SolrUtils.ExtendedFieldSchemaInfo


                    FieldTypeInfo fty = processSchema.getFieldTypeInfo(type);
                    if (fty != null) {
                        Class<?> objType = SolrUtils.decodeSolrFieldType(fty.getClassName());
                        if (objType != null) {
                            ExtendedFieldSchemaInfo extendedFieldSchemaInfo = new SolrUtils.ExtendedFieldSchemaInfo(
                                    processSchema, processField, name);
                            SolrAttribute at = new SolrAttribute(name, objType);
                            if (extendedFieldSchemaInfo.getUniqueKey()) {
                                at.setPk(true);
                                at.setUse(true);
                            }
                            if (extendedFieldSchemaInfo.getMultivalued()
                                    && !Geometry.class.isAssignableFrom(at.getType())) {
                                at.setType(String.class);
                            }
                            at.setEmpty(founds == 0);
                            solrAttributes.add(at);
View Full Code Here

TOP

Related Classes of org.geotools.data.solr.SolrUtils.ExtendedFieldSchemaInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.