separate fail types: network fail and forced exclusion (i.e. by robots or forwarding rules).pull/1/head
parent
5e182a566f
commit
efd2c4622d
@ -0,0 +1,28 @@
|
|||||||
|
/**
|
||||||
|
* FailType
|
||||||
|
* Copyright 2012 by Michael Peter Christen
|
||||||
|
* First released 23.11.2012 at http://yacy.net
|
||||||
|
*
|
||||||
|
* This library is free software; you can redistribute it and/or
|
||||||
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 2.1 of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This library is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public License
|
||||||
|
* along with this program in the file lgpl21.txt
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package net.yacy.cora.federate.solr;
|
||||||
|
|
||||||
|
public enum FailType {
|
||||||
|
|
||||||
|
fail, // failed because of network failure
|
||||||
|
excl; // failed because content had to be excluded
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in new issue