OnDemand User Group
Support Forums => MP Server => Topic started by: jg on March 12, 2014, 05:25:13 AM
-
I hope this question is not too trivial...
Is there a way to add a field to an existing (and already in use) Application Group?
Thanks!
Jochen
-
In my experience..copy
example-
rename from jeff to jeff_a
copy jeff_a to jeff
relink folder fields
call it a day
-
In newer versions of CMOD, you can add a field to an existing Application Group, but that field will not become populated for previously loaded data, leading to strange situations when it comes to searching...
If you do a search that includes the new field, it will only find new documents, as the old documents have no value to search against in the new field. Some of the old documents might match the search criteria, but that index data isn't available in the database, so it will be excluded from the results -- which your users probably aren't expecting.
Do a lot of testing in your Development regions first!
-JD.
-
I never played with the copy command. Does the copy include copying the data?
Regards
Jochen
-
Data loaded in the old application group will not copied to the new one. Only the definition will be copied.
-
That means, I would have to export all index data and documents from the 'old' AG and load them to the new AG?
-
If you require data to be populated for the newly added field, then it is good to extract the data from the old AG and re-index to the new AG.
If you are ok to have the newly added field as blank, the simple way is to have the folder mapped with the old AG and new AG. So that data from both the AG will be displayed. However if you are going to make a search based on the new field, as JD mentioned the search results could be inconsistent in this approach.