Converting a cck text field into a taxonomy field without data loss

alihammad - January 29, 2008 - 16:30
Project:CCK Taxonomy Fields
Version:5.x-1.2
Component:Miscellaneous
Category:task
Priority:critical
Assigned:Unassigned
Status:active
Description

On my website I have a content type called beta and there are an approx of 30k beta nodes containing 40+ GBs of data. I converted my old website to drupal with a lot of needed tricks and techniques around an year ago.

However, I am stuck with a problem. The beta content type has over a dozen cck fields. Many of these fields have repeating data i.e. recurring in several beta nodes. I had earlier planned to use taxonomy and link these cck fields with terms/vocabularies. The pursuit of this goal has led to several problems.

Problems being
I)Out of all the modules I tried there is no module which allows for conversion of a cck 'text field type' in a certain content type to a 'free tagging taxonomy type'. The task would have been extremely simple if it were not so.
II)I think there is no module yet which allows for search data in the database to be used for the purposes of taxonomy. I would be really glad if there were a module which allowed for search index data to be used for taxonomy terms or something like a search engine vocabulary,etc.

Although I can think of few possible ad hoc solutions but it will be appreciable if there were a proper set of rules to follow here.

#1

canadrian@elect... - August 20, 2008 - 23:43

Definitely looking for this as well.

#2

dberzon - September 16, 2008 - 13:17

Me too..........

#3

asb - June 20, 2009 - 22:36

subscribing

#4

CobraMP - September 27, 2009 - 00:45

views bulk operations

create the taxonomy and values
filter content type to a single value of the field you want to convert
using vbo set the taxonomy field to that entry
repeat for each value
update all your views to use taxonomy field instead of cck field
then hide the cck field so it no longer gets seen

 
 

Drupal is a registered trademark of Dries Buytaert.