I am trying to find where the weights are stored in the $node in the Calais code. I am going to be storeing the name and weights(or relavency) in a file to be used later. Currently if I were to submit in drual a paragraph from wikipedia on Brazil and look at the state of the node in the functoin calais_nodeapi() then I would get something like the following:
stdClass Object ( [nid] => 6 [type] => page [language] => [uid] => 1 [status] => 1 [created] => 1252421456 [changed] => 1253028321 [comment] => 0 [promote] => 0 [moderate] => 0 [sticky] => 0 [tnid] => 0 [translate] => 0 [vid] => 6 [revision_uid] => 1 [title] => Brazil [body] => Brazil (Portuguese: Brasil), officially the Federative Republic of Brazil (Portuguese: República Federativa do Brasil) Pt-br-República Federativa do Brasil.ogg listen (help·info), is a country in South America.[8] It is the fifth largest country by geographical area, occupying nearly half of South America,[9] the fifth most populous country, and the fourth most populous democracy in the world.[8][10] Bounded by the Atlantic Ocean on the east, Brazil has a coastline of over 7,491 kilometers (4,655 mi).[8] It is bordered on the north by Venezuela, Guyana, Suriname and the French overseas department of French Guiana; on the northwest by Colombia; on the west by Bolivia and Peru; on the southwest by Argentina and Paraguay and on the south by Uruguay. Numerous archipelagos are part of the Brazilian territory, such as Fernando de Noronha, Rocas Atoll, Saint Peter and Paul Rocks, and Trindade and Martim Vaz.[8] [teaser] => Brazil (Portuguese: Brasil), officially the Federative Republic of Brazil (Portuguese: República Federativa do Brasil) Pt-br-República Federativa do Brasil.ogg listen (help·info), is a country in South America.[8] It is the fifth largest country by geographical area, occupying nearly half of South America,[9] the fifth most populous country, and the fourth most populous democracy in the world.[8][10] Bounded by the Atlantic Ocean on the east, Brazil has a coastline of over 7,491 kilometers (4,655 mi).[8] It is bordered on the north by Venezuela, Guyana, Suriname and the French overseas departm [log] => [revision_timestamp] => 1253028321 [format] => 1 [name] => captkirby [picture] => [data] => a:0:{} [rdf] => Array ( ) )
stdClass Object ( [nid] => 6 [type] => page [language] => [uid] => 1 [status] => 1 [created] => 1252421456 [changed] => 1253028321 [comment] => 0 [promote] => 0 [moderate] => 0 [sticky] => 0 [tnid] => 0 [translate] => 0 [vid] => 6 [revision_uid] => 1 [title] => Brazil [body] => Brazil (Portuguese: Brasil), officially the Federative Republic of Brazil (Portuguese: República Federativa do Brasil) Pt-br-República Federativa do Brasil.ogg listen (help·info), is a country in South America.[8] It is the fifth largest country by geographical area, occupying nearly half of South America,[9] the fifth most populous country, and the fourth most populous democracy in the world.[8][10] Bounded by the Atlantic Ocean on the east, Brazil has a coastline of over 7,491 kilometers (4,655 mi).[8] It is bordered on the north by Venezuela, Guyana, Suriname and the French overseas department of French Guiana; on the northwest by Colombia; on the west by Bolivia and Peru; on the southwest by Argentina and Paraguay and on the south by Uruguay. Numerous archipelagos are part of the Brazilian territory, such as Fernando de Noronha, Rocas Atoll, Saint Peter and Paul Rocks, and Trindade and Martim Vaz.[8] [teaser] => Brazil (Portuguese: Brasil), officially the Federative Republic of Brazil (Portuguese: República Federativa do Brasil) Pt-br-República Federativa do Brasil.ogg listen (help·info), is a country in South America.[8] It is the fifth largest country by geographical area, occupying nearly half of South America,[9] the fifth most populous country, and the fourth most populous democracy in the world.[8][10] Bounded by the Atlantic Ocean on the east, Brazil has a coastline of over 7,491 kilometers (4,655 mi).[8] It is bordered on the north by Venezuela, Guyana, Suriname and the French overseas departm [log] => [revision_timestamp] => 1253028321 [format] => 1 [name] => captkirby [picture] => [data] => a:0:{} [rdf] => Array ( ) [last_comment_timestamp] => 1252421456 [last_comment_name] => [comment_count] => 0 [taxonomy] =>
Array (
[42] => stdClass Object ( [tid] => 42 [vid] => 20 [name] => Atlantic Ocean [description] => [weight] => 0 [guid] => [resolved_guid] => )
[34] => stdClass Object ( [tid] => 34 [vid] => 5 [name] => Brazil [description] => [weight] => 0 [guid] => [resolved_guid] => )
[40] => stdClass Object ( [tid] => 40 [vid] => 23 [name] => Fernando de Noronha [description] => [weight] => 0 [guid] => [resolved_guid] => )
[32] => stdClass Object ( [tid] => 32 [vid] => 5 [name] => French Guiana [description] => [weight] => 0 [guid] => [resolved_guid] => )
[36] => stdClass Object ( [tid] => 36 [vid] => 5 [name] => Guyana [description] => [weight] => 0 [guid] => [resolved_guid] => )
[1] => stdClass Object ( [tid] => 1 [vid] => 40 [name] => Other [description] => [weight] => 0 [guid] => [resolved_guid] => )
[33] => stdClass Object ( [tid] => 33 [vid] => 5 [name] => Paraguay [description] => [weight] => 0 [guid] => [resolved_guid] => )
[39] => stdClass Object ( [tid] => 39 [vid] => 23 [name] => Paul Rocks [description] => [weight] => 0 [guid] => [resolved_guid] => )
[38] => stdClass Object ( [tid] => 38 [vid] => 23 [name] => Rocas Atoll [description] => [weight] => 0 [guid] => [resolved_guid] => )
[41] => stdClass Object ( [tid] => 41 [vid] => 23 [name] => Saint Peter [description] => [weight] => 0 [guid] => [resolved_guid] => )
[37] => stdClass Object ( [tid] => 37 [vid] => 4 [name] => South America [description] => [weight] => 0 [guid] => [resolved_guid] => )
[35] => stdClass Object ( [tid] => 35 [vid] => 5 [name] => Suriname [description] => [weight] => 0 [guid] => [resolved_guid] => ) )
[date] => 2009-09-08 14:50:56 +0000 [revision] => [menu] => Array ( [link_title] => [mlid] => 0 [plid] => 0 [menu_name] => primary-links [weight] => 0 [options] => Array ( ) [module] => menu [expanded] => 0 [hidden] => 0 [has_children] => 0 [customized] => 0 [parent_depth_limit] => 8 ) )
I was wondering if the bold weight values were suppose to be the relavency value of those particular taxonimy names or whether I was suppose to be looking somewhere else for these values. Thanks for you help.
-Gene

What version of the module are you using? D5 or D6?
In D5 it is not saved.
In D6 it is in the calais_term table in the relevance column and it is also accessible to Views.
Please note that the Taxonomy Term (what you are looking at above) is not the same as a Calais Term.