Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "query": {
- "custom_score": {
- "query": {
- "filtered": {
- "filter": {
- "terms": {
- "locations": [
- 41673
- ]
- }
- },
- "query": {
- "text": {
- "company_name": {
- "query": "Business",
- "fuzziness": 0.82
- }
- }
- }
- }
- },
- "script": "(_score * 10000000000) / doc[\u0027sort_code\u0027].value"
- }
- }
- }
Add Comment
Please, Sign In to add comment