Comment 1 for bug 1618240

Revision history for this message
Steve McLellan (sjmc7) wrote :

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/searchlight/+bug/1602718