12
CHANGELOG.md
12
CHANGELOG.md
@@ -17,7 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- Copy to clipboard functionality for all hash values
|
||||
|
||||
#### Backend
|
||||
- Elasticsearch integration with configurable endpoint
|
||||
- Redis integration with ioredis
|
||||
- Custom index mapping with 10 shards for horizontal scaling
|
||||
- Automatic index creation on first use
|
||||
- Auto-indexing of searched plaintext for future lookups
|
||||
@@ -62,7 +62,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
#### Dependencies
|
||||
- Next.js 16.0.7
|
||||
- React 19.2.0
|
||||
- Elasticsearch Client 8.x
|
||||
- ioredis 5.4.2
|
||||
- Lucide React (icons)
|
||||
- Tailwind CSS 4.x
|
||||
- TypeScript 5.x
|
||||
@@ -75,14 +75,14 @@ hasher/
|
||||
│ ├── layout.tsx # Root layout
|
||||
│ └── page.tsx # Main page
|
||||
├── lib/ # Utility libraries
|
||||
│ ├── elasticsearch.ts # ES client
|
||||
│ ├── redis.ts # Redis client
|
||||
│ └── hash.ts # Hash utilities
|
||||
├── scripts/ # CLI scripts
|
||||
│ └── index-file.ts # Bulk indexer
|
||||
└── docs/ # Documentation
|
||||
```
|
||||
|
||||
#### Elasticsearch Index Schema
|
||||
#### Redis Data Structure
|
||||
- Index name: `hasher`
|
||||
- Shards: 10
|
||||
- Replicas: 1
|
||||
@@ -91,7 +91,9 @@ hasher/
|
||||
### Configuration
|
||||
|
||||
#### Environment Variables
|
||||
- `ELASTICSEARCH_NODE`: Elasticsearch endpoint (default: http://localhost:9200)
|
||||
- `REDIS_HOST`: Redis server host (default: localhost)
|
||||
- `REDIS_PORT`: Redis server port (default: 6379)
|
||||
- `REDIS_PASSWORD`: Redis authentication password (optional)
|
||||
|
||||
#### Performance
|
||||
- Bulk indexing: 1000-5000 docs/sec
|
||||
|
||||
Referencia en una nueva incidencia
Block a user