Elasticsearch URI based query with AND operator

后端 未结 4 1409
一向
一向 2021-01-31 09:00

How do I specify AND operation in URI based query? I\'m looking for something like:

http://localhost:9200/_search?q=\"profiletype:student AND username:s*\"
         


        
4条回答
  •  梦毁少年i
    2021-01-31 09:59

    You can try bellow line.

    http://localhost:9200/_search?q=profiletype:student%20AND%20username:s*
    
    http://localhost:9200/_search?q=profiletype:student AND username:s*
    

提交回复
热议问题