Multiple indexes on same value?

15 views
Skip to first unread message

Curtis Stanford

unread,
Jul 8, 2011, 7:44:10 PM7/8/11
to haw...@googlegroups.com
I notice you can have multiple indexes in the same page file but can you create two or more indexes on the same value? For instance, if I have a list of users, can I index them by ID and by name without storing the user value twice?

Thanks

Curtis

Hiram Chirino

unread,
Jul 9, 2011, 5:36:23 PM7/9/11
to haw...@googlegroups.com
No. Typically you do this by having the 2nd index values be a key into
the 1st index.

Regards,
Hiram

FuseSource
Web: http://fusesource.com/

Curtis Stanford

unread,
Jul 9, 2011, 7:19:24 PM7/9/11
to haw...@googlegroups.com
I see, thanks!
Reply all
Reply to author
Forward
0 new messages