As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'> <beans> <bean id="facet.dateFacetFields" class="org.springframework.beans.factory.config.SetFactoryBean"> <property name="sourceSet"> <set> <value>@{http://www.alfresco.org/model/content/1.0}created</value> <value>@{http://www.alfresco.org/model/content/1.0}modified</value> <value>@{http://www.mycomp.com/model/hono/1.0}invoiceDate</value> </set> </property> </bean> <bean id="facet.dollarAmountBuckets" class="org.springframework.beans.factory.config.MapFactoryBean"> <property name="sourceMap"> <map> <entry key="[0 TO 1000]" value="$0-$1K" /> <entry key="[1000 TO 10000]" value="$1K-$10K" /> <entry key="[10000 TO 100000]" value="$10K-$100K" /> <entry key="[100000 TO MAX]" value="Above.$100K" /> </map> </property> </bean> <bean id="facet.dollarAmountDisplayHandler" class="com.mycomp.edm.alfresco.extensions.search.solr.facets.handlers.DollarAmountDisplayHandler" parent="baseFacetLabelDisplayHandler" > <constructor-arg index="0"> <set> <value>@{http://www.mycomp.com/model/hono/1.0}invoiceAmount</value> </set> </constructor-arg> <constructor-arg index="1"> <ref bean="facet.dollarAmountBuckets" /> </constructor-arg> </bean> <bean id="facet.solrFacetHelper" class="org.alfresco.repo.search.impl.solr.facet.SolrFacetHelper" > <constructor-arg> <list> <ref bean="facet.contentSizeBucketsDisplayHandler" /> <ref bean="facet.dateBucketsDisplayHandler" /> <ref bean="facet.dollarAmountDisplayHandler" /> </list> </constructor-arg> <property name="specialFacetIds"> <set> <value>SITE</value> <value>TAG</value> <value>ANCESTOR</value> <value>PARENT</value> <value>ASPECT</value> <value>TYPE</value> <value>OWNER</value> </set> </property> </bean> </beans>
<?xml version="1.0" encoding="UTF-8"?> <model xmlns="http://www.alfresco.org/model/dictionary/1.0" name="hon:hono"> <description>hono model</description> <author>amit</author> <imports> <import uri="http://www.alfresco.org/model/content/1.0" prefix="cm"/> <import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/> </imports> <namespaces> <namespace uri="http://www.mycomp.com/model/hono/1.0" prefix="hon"/> </namespaces> <data-types/> <constraints/> <types> <type name="hon:invoice"> <title>Invoice</title> <description>invoice model</description> <parent>cm:content</parent> <properties> <property name="hon:invoiceNumber"> <title>Invoice Number</title> <type>d:int</type> <mandatory>false</mandatory> <index enabled="true"> <tokenised>TRUE</tokenised> <facetable>true</facetable> </index> </property> <property name="hon:invoiceAmount"> <title>Invoice Amount</title> <type>d:int</type> <mandatory>false</mandatory> <index enabled="true"> <tokenised>TRUE</tokenised> <facetable>true</facetable> </index> </property> <property name="hon:invoiceDate"> <title>Invoice Date</title> <type>d:date</type> <mandatory>false</mandatory> <index enabled="true"> <tokenised>TRUE</tokenised> <facetable>true</facetable> </index> </property> <property name="hon:organizationName"> <title>Organization Name</title> <type>d:text</type> <mandatory>false</mandatory> <index enabled="true"> <tokenised>FALSE</tokenised> <facetable>true</facetable> </index> </property> <property name="hon:customerName"> <title>Customer Name</title> <type>d:text</type> <mandatory>false</mandatory> <index enabled="true"> <tokenised>FALSE</tokenised> <facetable>true</facetable> </index> </property> </properties> <associations/> <overrides/> <mandatory-aspects/> </type> </types> <aspects/> </model>