Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "size":500,
- "query":{
- "bool":{
- "should":[
- {
- "match":{
- "features.celebrities.text":{
- "query":".*acronis.*",
- "fuzziness":"AUTO",
- "operator":"and"
- }
- }
- },
- {
- "match":{
- "features.description.text":{
- "query":".*acronis.*",
- "fuzziness":"AUTO",
- "operator":"and"
- }
- }
- },
- {
- "match":{
- "features.ocrs.text":{
- "query":".*acronis.*",
- "fuzziness":"AUTO",
- "operator":"and"
- }
- }
- },
- {
- "match":{
- "features.categories.text":{
- "query":".*acronis.*",
- "fuzziness":"AUTO",
- "operator":"and"
- }
- }
- },
- {
- "match":{
- "features.tags.text":{
- "query":".*acronis.*",
- "fuzziness":"AUTO",
- "operator":"and"
- }
- }
- },
- {
- "match":{
- "features.people.text":{
- "query":".*acronis.*",
- "fuzziness":"AUTO",
- "operator":"and"
- }
- }
- },
- {
- "match":{
- "features.emotions.text":{
- "query":".*acronis.*",
- "fuzziness":"AUTO",
- "operator":"and"
- }
- }
- },
- {
- "match":{
- "author":{
- "query":"acronis",
- "fuzziness":"AUTO",
- "operator":"and"
- }
- }
- },
- {
- "range":{
- "creation_date":{
- "gte":"2017-03-19T00:00:00Z",
- "lte":"2017-03-26T00:00:00Z"
- }
- }
- }
- ],
- "must":[
- {
- "match":{
- "content_type":{
- "query":"*image/**",
- "fuzziness":"AUTO",
- "operator":"or"
- }
- }
- }
- ]
- }
- },
- "_source":{
- "excludes":[
- "content"
- ]
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement