mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-22 01:22:54 +00:00
refactor: move backend to monorepo
This commit is contained in:
21
backend/config/elasticsearch-b-tu.ts
Normal file
21
backend/config/elasticsearch-b-tu.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
// tslint:disable:no-default-export
|
||||
// tslint:disable:no-magic-numbers
|
||||
import {RecursivePartial} from '@openstapps/logger/lib/common';
|
||||
import {ElasticsearchConfigFile} from '../src/storage/elasticsearch/types/elasticsearch';
|
||||
|
||||
/**
|
||||
* This is the database configuration for the technical university of berlin
|
||||
*/
|
||||
const config: RecursivePartial<ElasticsearchConfigFile> = {
|
||||
internal: {
|
||||
database: {
|
||||
name: 'elasticsearch',
|
||||
query: {
|
||||
minMatch: '60%',
|
||||
queryType: 'query_string',
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export default config;
|
||||
Reference in New Issue
Block a user