Compare commits

...

2 Commits

Author SHA1 Message Date
3beed131a8 docs: update changelog
All checks were successful
Go / build (push) Successful in -10s
renovate / renovate (push) Successful in 23s
SonarQube Scan / Build and analyze (push) Successful in 11s
2025-03-26 09:32:35 +01:00
64efaf5514 fix: add default log level
Some checks failed
Release / Generate changelog (push) Failing after -16s
2025-03-26 09:32:00 +01:00
3 changed files with 23 additions and 3 deletions

View File

@ -2,15 +2,33 @@
All notable changes to this project will be documented in this file.
## [unreleased]
## [0.1.1] - 2025-03-26
### 🚀 Features
- *(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
- 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

View File

@ -1,7 +1,7 @@
# gosearch
[![Quality Gate Status](https://sonar.dev-null.rocks/api/project_badges/measure?project=gosearch&metric=alert_status&token=sqb_4d86c3b73f6837027a319df42d2f70ccb46e56a2)](https://sonar.dev-null.rocks/dashboard?id=gosearch)
# gosearch
### Diagram of the Architecture
```mermaid

View File

@ -2,6 +2,7 @@ package http
import (
"github.com/gofiber/fiber/v2"
"github.com/gofiber/fiber/v2/log"
"github.com/gofiber/fiber/v2/middleware/logger"
)
@ -12,6 +13,7 @@ func StartService() {
app.Use(logger.New(logger.Config{
Format: "[${ip}]:${port} ${status} - ${method} ${path}\n",
}))
log.SetLevel(log.LevelInfo)
// Configure Routes
app = configureRoutes(app)