Show / Hide Table of Contents

    Namespace Lucene.Net.Replicator.Http

    HTTP replication implementation

    Classes

    HttpClientBase

    Base class for Http clients.

    HttpReplicator

    An HTTP implementation of IReplicator. Assumes the API supported by ReplicationService.

    ReplicationService

    A server-side service for handling replication requests. The service assumes requests are sent in the format /<context>/<shard>/<action> where

    • context is the servlet context, e.g. REPLICATION_CONTEXT
    • shard is the ID of the shard, e.g. "s1"
    • action is one of ReplicationService.ReplicationAction values
    For example, to check whether there are revision updates for shard "s1" you should send the request: http://host:port/replicate/s1/update.

    Enums

    ReplicationService.ReplicationAction

    Actions supported by the ReplicationService.

    • Improve this Doc
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)