Compare commits
2 Commits
8d320f96cd
...
3beed131a8
Author | SHA1 | Date | |
---|---|---|---|
3beed131a8 | |||
64efaf5514 |
20
CHANGELOG.md
20
CHANGELOG.md
@ -2,15 +2,33 @@
|
|||||||
|
|
||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
## [unreleased]
|
## [0.1.1] - 2025-03-26
|
||||||
|
|
||||||
### 🚀 Features
|
### 🚀 Features
|
||||||
|
|
||||||
- *(index)* Add save and load functionality for Index using gob encoding/decoding
|
- *(index)* Add save and load functionality for Index using gob encoding/decoding
|
||||||
|
|
||||||
|
### 🐛 Bug Fixes
|
||||||
|
|
||||||
|
- Updated AddDocToIndex function to ignore additional special characters in scanner.Text()
|
||||||
|
- Add sonarqube properties
|
||||||
|
- Add default log level
|
||||||
|
|
||||||
|
### 🚜 Refactor
|
||||||
|
|
||||||
|
- Search logic to improve performance and reduce false positives by making query case-insensitive for simple queries and using trimmed whitespace in phrases
|
||||||
|
|
||||||
### 📚 Documentation
|
### 📚 Documentation
|
||||||
|
|
||||||
- Add first release in Changelog
|
- Add first release in Changelog
|
||||||
|
- Update changelog
|
||||||
|
- Add sonarqube badge
|
||||||
|
|
||||||
|
### ⚙️ Miscellaneous Tasks
|
||||||
|
|
||||||
|
- Add sonarqube pipeline
|
||||||
|
- Update sonarqube pipeline
|
||||||
|
- Add quality gate
|
||||||
|
|
||||||
## [0.1.0] - 2025-03-25
|
## [0.1.0] - 2025-03-25
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# gosearch
|
|
||||||
|
|
||||||
[](https://sonar.dev-null.rocks/dashboard?id=gosearch)
|
[](https://sonar.dev-null.rocks/dashboard?id=gosearch)
|
||||||
|
|
||||||
|
# gosearch
|
||||||
|
|
||||||
### Diagram of the Architecture
|
### Diagram of the Architecture
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
|
@ -2,6 +2,7 @@ package http
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/gofiber/fiber/v2"
|
"github.com/gofiber/fiber/v2"
|
||||||
|
"github.com/gofiber/fiber/v2/log"
|
||||||
"github.com/gofiber/fiber/v2/middleware/logger"
|
"github.com/gofiber/fiber/v2/middleware/logger"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -12,6 +13,7 @@ func StartService() {
|
|||||||
app.Use(logger.New(logger.Config{
|
app.Use(logger.New(logger.Config{
|
||||||
Format: "[${ip}]:${port} ${status} - ${method} ${path}\n",
|
Format: "[${ip}]:${port} ${status} - ${method} ${path}\n",
|
||||||
}))
|
}))
|
||||||
|
log.SetLevel(log.LevelInfo)
|
||||||
|
|
||||||
// Configure Routes
|
// Configure Routes
|
||||||
app = configureRoutes(app)
|
app = configureRoutes(app)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user