mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-04 04:22:50 +00:00
22 lines
553 B
TypeScript
22 lines
553 B
TypeScript
// 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;
|