Project

General

Profile

« Previous | Next » 

Revision 7786

Added by Jing Tao almost 11 years ago

Add code to handle delete data package information when delete a pid in the solr index.

View differences:

ResourceMapSubprocessor.java
162 162
    /*
163 163
     * Get the SolrDoc for the specified id 
164 164
     */
165
    private static SolrDoc getSolrDoc(String id) throws SolrServerException, IOException, ParserConfigurationException, SAXException, XPathExpressionException, NotImplemented, NotFound, UnsupportedType {
165
    public static SolrDoc getSolrDoc(String id) throws SolrServerException, IOException, ParserConfigurationException, SAXException, XPathExpressionException, NotImplemented, NotFound, UnsupportedType {
166 166
        SolrDoc solrDoc = null;
167 167
        if(solrServer != null) {
168 168
           String query = QUERY+"\""+id+"\"";

Also available in: Unified diff