Skip to content

Commit de7a030

Browse files
author
Uros Marolt
authored
Removed meilisearch from the codebase (linuxfoundation#950)
1 parent dbdbdcf commit de7a030

73 files changed

Lines changed: 18 additions & 48580 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Makefile

Lines changed: 0 additions & 5 deletions
This file was deleted.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ With crowd.dev, you get full visibility into all platforms and can take actions
3535

3636
<img src="https://user-images.githubusercontent.com/41432658/198830271-cbe6d3c7-0c46-4539-98cc-b13c495ddedf.png" alt="UI Home screen">
3737

38-
3938
## ✨ Features
39+
4040
- **Plug & play integrations** to tie all relevant platforms - like GitHub, Discord, Slack, or LinkedIn - together. ([all integrations](https://www.crowd.dev/integrations))
4141
- **Identity resolution & automated segmentation** to effortlessly understand activities and profiles across platforms.
4242
- **Opinionated analytics & reports** on topics like product-market-fit and open-source community activity to further inform your GTM strategy.
@@ -55,7 +55,7 @@ crowd.dev is still in beta and we ship new features every week. To stay in the l
5555

5656
### Cloud version
5757

58-
Our <a href="https://crowd.dev/#waitlist">cloud version</a> is a fast, easy and free way to get started with crowd.dev.
58+
Our <a href="https://crowd.dev/#waitlist">cloud version</a> is a fast, easy and free way to get started with crowd.dev.
5959

6060
### Self-hosted version
6161

@@ -92,6 +92,7 @@ cd scripts
9292
```
9393

9494
For hot reloading, you can run
95+
9596
```shell
9697
cd scripts
9798
./cli clean-start-dev
@@ -134,4 +135,3 @@ crowd.dev is powered by these awesome projects:
134135
- <a href="https://github.com/vuejs/vue">Vue.js</a>
135136
- <a href="https://github.com/tailwindlabs/tailwindcss">Tailwind CSS</a>
136137
- <a href="https://github.com/cube-js/cube.js">Cube.js</a>
137-
- <a href="https://github.com/meilisearch/meilisearch">Meilisearch</a>

backend/.env.dist.composed

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ CROWD_S3_HOST="s3"
1616
CROWD_DB_READ_HOST="db"
1717
CROWD_DB_WRITE_HOST="db"
1818

19-
# Search engine settings
20-
CROWD_SEARCH_ENGINE_HOST="http://search-engine:7700"
21-
2219
# CubeJS settings
2320
CROWD_CUBEJS_URL="http://cubejs:4000/cubejs-api/v1"
2421

backend/.env.dist.local

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,6 @@ CROWD_CUBEJS_URL=http://localhost:4000/cubejs-api/v1
5252
CROWD_CUBEJS_JWT_SECRET=137ea167812145c6d77452a58d7dd29b
5353
CROWD_CUBEJS_JWT_EXPIRY=2h
5454

55-
# Search engine settings
56-
CROWD_SEARCH_ENGINE_HOST=http://localhost:7700
57-
CROWD_SEARCH_ENGINE_API_KEY=dev
58-
CROWD_SEARCH_ENGINE_CONVERSATIONS_INDEX=conversations
59-
CROWD_SEARCH_ENGINE_SETTINGS_INDEX=settings
60-
6155
# AWS Comprehend settings
6256
CROWD_COMPREHEND_AWS_ACCOUNT_ID=
6357
CROWD_COMPREHEND_AWS_ACCESS_KEY_ID=

backend/.env.test

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
# DB settings
22
CROWD_DB_PORT=5433
33

4-
# Search engine settings
5-
CROWD_SEARCH_ENGINE_HOST=http://localhost:7701
6-
CROWD_SEARCH_ENGINE_API_KEY=masterKey
7-
84
# Redis settings
95
CROWD_REDIS_PORT=6380

backend/config/custom-environment-variables.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,6 @@
5858
"jwtSecret": "CROWD_CUBEJS_JWT_SECRET",
5959
"jwtExpiry": "CROWD_CUBEJS_JWT_EXPIRY"
6060
},
61-
"searchEngine": {
62-
"host": "CROWD_SEARCH_ENGINE_HOST",
63-
"apiKey": "CROWD_SEARCH_ENGINE_API_KEY"
64-
},
6561
"segment": {
6662
"writeKey": "CROWD_SEGMENT_WRITE_KEY"
6763
},

backend/docker-compose.test.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,6 @@ services:
1010
- 5433:5432
1111
networks:
1212
- crowd-bridge-test
13-
search-engine-test:
14-
image: getmeili/meilisearch:v0.27.2
15-
ports:
16-
- 7701:7700
17-
networks:
18-
- crowd-bridge-test
1913

2014
redis-test:
2115
image: redis

backend/package-lock.json

Lines changed: 1 addition & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

backend/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@
9696
"json2csv": "^5.0.7",
9797
"jsonwebtoken": "8.5.1",
9898
"lodash": "4.17.21",
99-
"meilisearch": "^0.26.0",
10099
"moment": "2.29.4",
101100
"moment-timezone": "^0.5.34",
102101
"mv": "2.1.1",

backend/src/api/index.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import { API_CONFIG, REDIS_CONFIG, UNLEASH_CONFIG } from '../conf'
1212
import { authMiddleware } from '../middlewares/authMiddleware'
1313
import { tenantMiddleware } from '../middlewares/tenantMiddleware'
1414
import { databaseMiddleware } from '../middlewares/databaseMiddleware'
15-
import { searchEngineMiddleware } from '../middlewares/searchEngineMiddleware'
1615
import { createRateLimiter } from './apiRateLimiter'
1716
import { languageMiddleware } from '../middlewares/languageMiddleware'
1817
import authSocial from './auth/authSocial'
@@ -75,9 +74,6 @@ setImmediate(async () => {
7574
// Initializes and adds the database middleware.
7675
app.use(databaseMiddleware)
7776

78-
// Initialize search engine
79-
app.use(searchEngineMiddleware)
80-
8177
// Bind redis to request
8278
app.use(redisMiddleware(redis))
8379

0 commit comments

Comments
 (0)