Hi, I'm trying the create a facet on a field with full names in it. When I specified it like this "facet=on&facet.field=InvestigatorName" in the url I got the first and last names as separate fields in the facets. <lst name="InvestigatorName"> <int name="john">11</int> <int name="daniel">3</int> <int name="jame">3</int> ... </lst>
Then I changed the schema.xml as follows. <field name="InvestigatorName" type="text" indexed="true" stored="true" multiValued="true" /> <field name="fInvestigatorName" type="string" indexed="true" stored="false" /> <copyfield source="InvestigatorName" dest="fInvestigatorName"/> and restarted solr and re-indexed the data. after that I ran the qry again with the url "&facet=on&facet.field=fInvestigatorName", but this time got zero results for the facets. <lst name="facet_fields"> <lst name="fInvestigatorName"/> </lst> Can someone point out if I'm doing something wrong? Thanks, Dhanushka.