Skip to content

Data Ingestor is a Java Spring Boot exploration project designed to facilitate file uploads to a database for data processing and querying using Apache Solr.

Notifications You must be signed in to change notification settings

SeyisJohn/Data-Ingestor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data Ingestor

Data Ingestor is a project designed to facilitate file uploads for data processing and querying using Apache Solr. The project provides an interface to upload, query, retrieve, and delete data.

Table of Contents

Features

  1. Upload Data - Securely upload your data files for processing.
  2. Query Interface - Utilize the power of Apache Solr to run complex queries.
  3. Delete Data (Debug feature) - Clear all data. (This feature is only for debugging and not recommended for production)

Usage

(Note: The following API endpoint usages are based on the API class provided.)

Upload Data

To upload a file: Use the following command: curl http://localhost:8080/api/data -F "file={File path}" curl http://localhost:8080/api/data -F "file=@{File path is local}"

Example: curl http://localhost:8080/api/data -F "file=@product_feed_copy.csv"

Query Interface

To query for specific data: curl "http://localhost:8080/api/data?q={query}"

Example: curl "http://localhost:8080/api/data?q=ProductID:30103472"

To retrieve all data: curl "http://localhost:8080/api/data/"

Delete All Data

(Debug feature - Not recommended for production) curl -X DELETE http://localhost:8080/api/data/

About

Data Ingestor is a Java Spring Boot exploration project designed to facilitate file uploads to a database for data processing and querying using Apache Solr.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published