Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- query_body = {"query": {
- "match": {
- "employer":{
- "query": txt,
- "fuzziness": 'AUTO',
- "analyzer" : 'custom_lowercase_stemmed'
- }
- }
- }
- }
- es.search(index='hello',body=query_body)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement