Are those instances matching on something other than 'name'?
I think you're seeing the effect of the default tokenizer; the unicode standard that the default analyzer uses for splitting words doesn't include underscores in its word boundary list. If you create an instance 'demo-1' (dash) then you'll see a search for 'demo' return it but not an instance named 'demo_1'.
Are those instances matching on something other than 'name'?
I think you're seeing the effect of the default tokenizer; the unicode standard that the default analyzer uses for splitting words doesn't include underscores in its word boundary list. If you create an instance 'demo-1' (dash) then you'll see a search for 'demo' return it but not an instance named 'demo_1'.
Arguably we should change the analyzer to include underscores. This might be considered an example of https:/ /bugs.launchpad .net/searchligh t/+bug/ 1602718