spring boot server using Lucene for fast document search and management.
Documentation
MCP Lucene Server
Description
The MCP Lucene Server is a Java-based implementation of the Model Context Protocol (MCP) designed to provide efficient search and retrieval capabilities using Apache Lucene. This server allows you to manage and query documents, leveraging Lucene's powerful indexing and search features. It is built using Spring Boot for easy setup and deployment.
Features
MCP Compliance: Implements the core Model Context Protocol.
Lucene-Powered: Utilizes Apache Lucene for full-text search and indexing.
RESTful API: Provides a RESTful API for interacting with the server.
Document Management:
Upsert: Add or update documents in the Lucene index.
Delete: Delete documents from the Lucene index.
List: Retrieve a list of documents from the index.
Querying:
Supports complex queries using the Lucene query syntax.
Filtering: Filter queries based on document metadata.
Status: Check the server status.
Spring Boot: Built with Spring Boot for easy setup and deployment.
Dockerization: Includes instructions for containerizing the application using Docker.
Getting Started# Prerequisites
Java: Java 11 or higher.
Maven: Maven 3.6.0 or higher.
Docker:Install Docker if you plan to use the Docker image.
Installation
Clone the repository:
git clone [https://github.com/your-username/mcp-lucene-server.git](https://github.com/your-username/mcp-lucene-server.git)
cd mcp-lucene-server