Hi Jose, I think the code you are looking for is actually the DSpace *Indexer* itself.
When DSpace indexes Items for search, it only indexes Items which are considered "in_archive". Items which are *not* consider to be in_archive include: * Items which are still in the process of being submitted * Items which are still undergoing a workflow approval process * Items which have been withdrawn * Items which have been deleted So, none of the above items will be found during public searching, as they are not considered to be in the DSpace "archive". To change this, you'd probably need to create a custom DSpace Indexer, or modify the default one. The class that takes care of indexing is: 'org.dspace.search.DSIndexer' Specifically, these two methods handle indexing of items: * updateIndex() - calls 'Item.findAll()', which only returns in_archive items * prepareIndexingTask() - specifically skips any withdrawn items - Tim On 3/22/2011 1:28 PM, Blanco, Jose wrote: > Any ideas about this? > > Thank you! > > -----Original Message----- > From: Blanco, Jose [mailto:[email protected]] > Sent: Monday, March 21, 2011 4:05 PM > To: dspace-tech > Subject: [Dspace-tech] looking for code > > If a user searches for an item that withdrawn, it will not show up in the > results page. Where is the code that checks if it's withdrawn and omits it > from the results page? I'm working in the jspui environment. > > Thank you! > Jose > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > DSpace-tech mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/dspace-tech > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > DSpace-tech mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/dspace-tech ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

