mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-21 00:00:13 +02:00
e32055aa15
- a new database for url reference data ('seen links') - a new database extending the references to the full url metadata attributes set which shall replace the old metadata database if it is finished - migration help classes stub to use old and new metadata databases simultanously
35 lines
1.2 KiB
Java
35 lines
1.2 KiB
Java
/**
|
|
* MetadataMigration
|
|
* Copyright 2012 by Michael Peter Christen
|
|
* First released 3.4.2012 at http://yacy.net
|
|
*
|
|
* This file is part of YaCy Content Integration
|
|
*
|
|
* 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.search.index;
|
|
|
|
/*
|
|
* migration class that combines old MetadataRepository classes
|
|
* with the new DocumentMetadata class
|
|
*/
|
|
public class MetadataMigration /*implements Metadata*/ {
|
|
|
|
private MetadataRepository metadataRepository;
|
|
private DocumentMetadata documentMetadata;
|
|
|
|
}
|