mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 15:33:09 +00:00
reinstated code that indexed abstracts
git-svn-id: http://scm.dspace.org/svn/repo/trunk@575 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -360,7 +360,6 @@ public class DSIndexer
|
||||
private static void writeItemIndex(Context c, IndexWriter writer, Item myitem )
|
||||
throws SQLException, IOException
|
||||
{
|
||||
|
||||
// get the location string (for searching by collection & community)
|
||||
String location_text = buildItemLocationString(c, myitem);
|
||||
|
||||
@@ -407,10 +406,7 @@ public class DSIndexer
|
||||
textvalues.put("keyword", keyword_text );
|
||||
textvalues.put("location", location_text);
|
||||
textvalues.put("handletext",itemhandle );
|
||||
|
||||
// delayed until we can assign relative weights
|
||||
// textvalues.put("abstract", abstract_text);
|
||||
|
||||
textvalues.put("abstract", abstract_text);
|
||||
|
||||
// write out the metatdata (for scalability, using hash instead of individual strings)
|
||||
writeIndexRecord(writer, Constants.ITEM, myitem.getID(), itemhandle, textvalues);
|
||||
|
Reference in New Issue
Block a user