mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 15:33:09 +00:00
DS-4166 community feedback: rename BrowsableObject to IndexableObject
This commit is contained in:
@@ -10,7 +10,7 @@ package org.dspace.discovery;
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.solr.common.SolrInputDocument;
|
||||
import org.dspace.browse.BrowsableObject;
|
||||
import org.dspace.browse.IndexableObject;
|
||||
import org.dspace.content.Item;
|
||||
import org.dspace.content.MetadataValue;
|
||||
import org.dspace.content.service.ItemService;
|
||||
@@ -30,7 +30,7 @@ public class SolrServiceSpellIndexingPlugin implements SolrServiceIndexPlugin {
|
||||
protected ItemService itemService;
|
||||
|
||||
@Override
|
||||
public void additionalIndex(Context context, BrowsableObject dso, SolrInputDocument document) {
|
||||
public void additionalIndex(Context context, IndexableObject dso, SolrInputDocument document) {
|
||||
if (dso instanceof Item) {
|
||||
Item item = (Item) dso;
|
||||
List<MetadataValue> dcValues = itemService.getMetadata(item, Item.ANY, Item.ANY, Item.ANY, Item.ANY);
|
||||
|
Reference in New Issue
Block a user