0

I’m searching on ES using the URI search syntax. My query looks something like this: http://local host:9200/library/book/_search?q=bookID:1234

I want to match any ID starting from let’s say 12, I can use a regex for this such as 12*. But how do I use this in URI search? It does not seem to work and returns no matches even though they exist. The documents say I need to set analyze_wildcards=true, which I did. But the problem persists.

Abhijeet Khangarot
  • 1,281
  • 1
  • 16
  • 25
nebula186
  • 119
  • 2
  • 14

0 Answers0