Skip to content

Commit

Permalink
Fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Liza K committed Feb 11, 2020
1 parent ea19f8f commit a916827
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 52 deletions.
29 changes: 0 additions & 29 deletions src/plugins/data/public/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,6 @@
import { PluginInitializerContext } from '../../../core/public';

import {
doesKueryExpressionHaveLuceneSyntaxError,
fromKueryExpression,
toElasticsearchQuery,
nodeTypes,
buildEsQuery,
getEsQueryConfig,
buildQueryFromFilters,
luceneStringToDsl,
decorateQuery,

// filters
FILTERS,
buildEmptyFilter,
Expand Down Expand Up @@ -108,25 +98,6 @@ export const esFilters = {
extractTimeFilter,
};

/*
* esQuery\esKuery namespaces:
*/

export const esKuery = {
nodeTypes,
doesKueryExpressionHaveLuceneSyntaxError,
fromKueryExpression,
toElasticsearchQuery,
};

export const esQuery = {
buildEsQuery,
getEsQueryConfig,
buildQueryFromFilters,
luceneStringToDsl,
decorateQuery,
};

/*
* esQuery and esKuery helper namespaces:
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const mapSpatialFilter = (filter: Filter) => {
filter.meta &&
filter.meta.key &&
filter.meta.alias &&
filter.meta.type === esFilters.FILTERS.SPATIAL_FILTER
filter.meta.type === FILTERS.SPATIAL_FILTER
) {
return {
key: filter.meta.key,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ import { fetchSoon, FetchOptions, RequestFailure } from '../fetch';

import { getSearchService, getUiSettings, getInjectedMetadata } from '../../services';
import { getEsQueryConfig, buildEsQuery, Filter } from '../../../common';
import { getHighlightRequest } from '../../../common';
import { getHighlightRequest } from '../../../common/field_formats';

export type ISearchSource = Pick<SearchSource, keyof SearchSource>;
Expand Down
22 changes: 1 addition & 21 deletions src/plugins/data/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@ import { PluginInitializerContext } from '../../../core/server';
import { DataServerPlugin, DataPluginSetup, DataPluginStart } from './plugin';

import {
nodeTypes,
fromKueryExpression,
toElasticsearchQuery,
buildEsQuery,
getEsQueryConfig,
buildQueryFilter,
buildCustomFilter,
buildEmptyFilter,
Expand All @@ -37,21 +32,6 @@ import {
isFilterDisabled,
} from '../common';

/*
* esQuery\esKuery namespaces:
*/

export const esKuery = {
nodeTypes,
fromKueryExpression,
toElasticsearchQuery,
};

export const esQuery = {
getEsQueryConfig,
buildEsQuery,
};

/*
* Filter helper namespace:
*/
Expand All @@ -69,7 +49,7 @@ export const esFilters = {
};

/*
* esQuery and esKuery helper namespaces:
* esQuery\esKuery namespaces:
*/

import {
Expand Down

0 comments on commit a916827

Please sign in to comment.