Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
web-et-numerique
web-et-numerique-internet
data.grandlyon.com
web-portal
components
custom-apps
web-app
Commits
8b6424da
Commit
8b6424da
authored
Feb 18, 2021
by
Matthieu Benoist
Browse files
Changes the criteria of the search
parent
42c00687
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/app/elasticsearch/services/elasticsearch.service.ts
View file @
8b6424da
...
...
@@ -193,7 +193,7 @@ export class ElasticsearchService {
},
},
collapse
:
{
field
:
'
metadata-fr.geonet:info.
uuid.keyword
'
,
field
:
'
uuid.keyword
'
,
},
highlight
:
{
order
:
'
score
'
,
...
...
@@ -205,7 +205,6 @@ export class ElasticsearchService {
fields
:
[
'
metadata-fr.title^5
'
,
'
data-fr.properties^3
'
,
'
data-and-metadata
'
,
'
metadata-fr.abstract^4
'
,
'
metadata-fr.lineage^3
'
,
'
content-fr.title^5
'
,
...
...
@@ -245,13 +244,13 @@ export class ElasticsearchService {
multi_match
:
{
query
:
regex
,
fields
:
[
'
metadata-fr.title^
5
'
,
'
metadata-fr.title^
7
'
,
'
data-fr.properties^3
'
,
'
data-
and-metadata
'
,
'
metadata-fr.
abstract^4
'
,
'
metadata-fr.lineage^
3
'
,
'
meta
data-
fr.abstract^6
'
,
'
metadata-fr.
keyword^5
'
,
'
metadata-fr.lineage^
4
'
,
'
content-fr.title^5
'
,
'
content-fr.excerpt^
4
'
,
'
content-fr.excerpt^
3
'
,
'
content-fr.plaintext^3
'
],
},
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment