On Friday 27 July 2007 12:50:12 TimF wrote: > However, obviously this returns the list of distinct terms, > Hello , World , Goodbye , Foo , Bar , Mad > > not the list of distinct stored values, > Hello World , Goodbye World , Foo Bar , Mad Mad Mad Mad World > > I could add another field to the index that is not tokenized and then > enumerate the terms for that new field, but this seems like a hack, and it > would also add size to the index in that I would be duplicating data for > the category for each document.
That is certainly how I would do it. This sort of thing only works with untokenised fields, unless you have somewhere else you can store the untokenised version which is quicker to iterate over. Daniel -- Daniel Noll Nuix Pty Ltd Suite 79, 89 Jones St, Ultimo NSW 2007, Australia Ph: +61 2 9280 0699 Web: http://nuix.com/ Fax: +61 2 9212 6902 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]