Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "from": 0,
- "size": 20,
- "timeout": 5000,
- "query": {
- "function_score": {
- "query": {
- "bool": {
- "must": {
- "match": {
- "fullString": {
- "query": "Charlie Feathers",
- "type": "boolean",
- "operator": "OR",
- "cutoff_frequency": 0.01
- }
- }
- },
- "must_not": {
- "term": {
- "isHidden": "true"
- }
- },
- "should": [
- {
- "match": {
- "fullString.token": {
- "query": "Charlie Feathers",
- "type": "phrase"
- }
- }
- },
- {
- "match": {
- "fullString.edgeNGNoSplit": {
- "query": "Charlie Feathers",
- "type": "phrase"
- }
- }
- }
- ]
- }
- },
- "field_value_factor": {
- "field": "popularity"
- }
- }
- },
- "explain": false
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement