Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- POST /users/user/_search
- {
- "from": 0,
- "min_score": 0,
- "query": {
- "function_score": {
- "boost": "1",
- "boost_mode": "replace",
- "query": {
- "has_child": {
- "boost": 1,
- "query": {
- "constant_score": {
- "boost": 1,
- "query": {
- "match": {
- "dc67f533_mf_pc_text": {
- "query": "P"
- }
- }
- }
- }
- },
- "score_type": "sum",
- "type": "mf_dc67f533"
- }
- },
- "script_score": {
- "script": "_score >= 1 ? 1 : 0"
- }
- }
- },
- "size": 0
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement