jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Haycock <Robert.Hayc...@artificial-solutions.com>
Subject RE: Search - contains with wildcard and UUIDs and dashes
Date Mon, 17 Dec 2012 17:02:21 GMT
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:aklimets@adobe.com] 
Sent: 17 December 2012 16:33
To: users@jackrabbit.apache.org
Subject: Re: Search - contains with wildcard and UUIDs and dashes

On 17.12.2012, at 15:38, Robert Haycock <Robert.Haycock@artificial-solutions.com> 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".


View raw message