Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- GET alias_fonds_prod/individu/_search
- {
- "query": {
- "function_score": {
- "query": {
- "filtered": {
- "query": {
- "bool": {
- "must": [
- {
- "match": {
- "ref_locale": {
- "query": "60318"
- }
- }
- },
- {
- "match": {
- "individu_principal": {
- "query": true
- }
- }
- },
- {
- "bool": {
- "should": [
- {
- "match": {
- "type_fonds": {
- "query": "releves_cercles",
- "boost": 0
- }
- }
- }
- ]
- }
- }
- ]
- }
- },
- "filter": {
- "and": [
- {
- "not": {
- "filter": {
- "terms": {
- "_cache": true,
- "private": [
- 2
- ]
- }
- }
- }
- },
- {
- "terms": {
- "_cache": false,
- "sourcename": [
- "colgnecmcgslm"
- ]
- }
- }
- ]
- }
- }
- },
- "score_mode": "multiply",
- "boost_mode": "multiply",
- "functions": [
- {
- "field_value_factor": {
- "field": "rank",
- "missing": 0
- }
- }
- ]
- }
- },
- "from": 0,
- "size": null
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement