Opensearch v 3.1.0, browser Chrome 138.0.7204.97
In version 3.x of Opensearch, when using a filter based on wildcards in discovery, the search ends with the error “Internal Server Error, null_pointer_exception” Moreover, filters with a regular expression continue to work normally.
In version 2.x, the wildcard worked normally. Tell me where to look to see what broke?
Filter:
{
"query": {
"wildcard": {
"cs_uri_stem": {
"value": "*mapi*",
"case_insensitive": true
}
}
}
}
Error:
null_pointer_exception
Cannot invoke “org.apache.lucene.util.automaton.ByteRunAutomaton.step(int, int)” because “runAutomaton” is null
fetchResponse@https://my.opensearch/8487/bundles/core/core.entry.js:15:419574