Yes, it's just that it's much slower and takes up much more memory. You are strongly encouraged to use numeric IDs and not bother with this adapter at all. It's not a question of interning strings, and they need not be consecutive IDs, but avoiding them entirely.
On Thu, Aug 11, 2011 at 1:02 AM, Charles McBrearty <[email protected]> wrote: > Hi, > > I am taking a look at running some of the recommender examples from Mahout > in action on a data set that I have that uses strings as the ItemID's and it > looks to me like the suggested way to do this is to subclass FileDataModel > and then use FileIdMigrator to manage the String <-> Long mapping. > > This seems like a lot of complication to deal with what I would imagine is > a pretty common use case. Is there something that I'm missing here? > > Thanks for any info that anyone can provide. > > -chuck
