I don't follow you. I'm just storing the id as a string. Even with stemming etc. I should still be able to search on the first few characters followed by a wild card shouldn't I? eg. "abc*"
Wouldn't aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee be indexed as either "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" or "aaaaaaaa", "bbbb", "cccc", "dddd" and "eeeeeeeeeeee"? In both cases I should be able to search on "aaaaa*" and get a hit. -----Original Message----- From: Alexander Klimetschek [mailto:[email protected]] Sent: 17 December 2012 16:33 To: [email protected] Subject: Re: Search - contains with wildcard and UUIDs and dashes On 17.12.2012, at 15:38, Robert Haycock <[email protected]> wrote: > The fact is it finds the node when searching with the whole ID and no > wildcard but doesn't work when you add a wildcard. > > That in my eyes is clearly a bug. As I mentioned, contains() is full text search and is never to be expected to work with formal identifiers. Using wildcards makes it even more "fuzzy". Cheers, Alex
