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:
parent
8d1edc7bd2
commit
9f9e833253
3 changed files with 0 additions and 8 deletions
|
@ -191,8 +191,6 @@
|
||||||
|
|
||||||
<field name="type" type="string" indexed="true" stored="true" omitNorms="true" multiValued="true"/>
|
<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="classgroup" type="string" indexed="true" stored="true" multiValued="true"/>
|
||||||
|
|
||||||
<field name="mostSpecificTypeURIs" type="string" indexed="true" stored="true" omitNorms="true" multiValued="true"/>
|
<field name="mostSpecificTypeURIs" type="string" indexed="true" stored="true" omitNorms="true" multiValued="true"/>
|
||||||
|
|
|
@ -11,8 +11,6 @@ public class VitroSearchTermNames {
|
||||||
|
|
||||||
/** rdf:type */
|
/** rdf:type */
|
||||||
public static String RDFTYPE = "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 */
|
/** classgroups from the individual's rdf:types */
|
||||||
public static String CLASSGROUP_URI = "classgroup";
|
public static String CLASSGROUP_URI = "classgroup";
|
||||||
/** Most specific types for individual*/
|
/** Most specific types for individual*/
|
||||||
|
|
|
@ -263,10 +263,6 @@ public class IndividualToSolrDocument {
|
||||||
|
|
||||||
doc.addField(term.RDFTYPE, clz.getURI());
|
doc.addField(term.RDFTYPE, clz.getURI());
|
||||||
|
|
||||||
if(clz.getLocalName() != null){
|
|
||||||
doc.addField(term.CLASSLOCALNAME, clz.getLocalName());
|
|
||||||
}
|
|
||||||
|
|
||||||
if(clz.getName() != null){
|
if(clz.getName() != null){
|
||||||
classPublicNames.append(" ");
|
classPublicNames.append(" ");
|
||||||
classPublicNames.append(clz.getName());
|
classPublicNames.append(clz.getName());
|
||||||
|
|
Loading…
Add table
Reference in a new issue