VIVO-377 Remove "classLocalName" from the search index.

Brian Caruso and I could not find any place where it was being used.
This commit is contained in:
j2blake 2013-10-17 15:10:36 -04:00
parent 8d1edc7bd2
commit 9f9e833253
3 changed files with 0 additions and 8 deletions

View file

@ -191,8 +191,6 @@
<field name="type" type="string" indexed="true" stored="true" omitNorms="true" multiValued="true"/>
<field name="classLocalName" type="text" indexed="true" stored="true" multiValued="true"/>
<field name="classgroup" type="string" indexed="true" stored="true" multiValued="true"/>
<field name="mostSpecificTypeURIs" type="string" indexed="true" stored="true" omitNorms="true" multiValued="true"/>

View file

@ -11,8 +11,6 @@ public class VitroSearchTermNames {
/** rdf:type */
public static String RDFTYPE = "type";
/** class names in human readable form of an individual*/
public static final String CLASSLOCALNAME = "classLocalName";
/** classgroups from the individual's rdf:types */
public static String CLASSGROUP_URI = "classgroup";
/** Most specific types for individual*/

View file

@ -263,10 +263,6 @@ public class IndividualToSolrDocument {
doc.addField(term.RDFTYPE, clz.getURI());
if(clz.getLocalName() != null){
doc.addField(term.CLASSLOCALNAME, clz.getLocalName());
}
if(clz.getName() != null){
classPublicNames.append(" ");
classPublicNames.append(clz.getName());