Syndication of attributes in diff. languages is not working.
Hi
I have this huge problem with syndicating attributes
We have a material rep. with a taxonomy containing of 2212 attributes mixed in numeric, text, range, logical
The main language is English.
When I set up a port to syndicate a material XML file with local attrib. lang. it can only be syndicated in English, so eventhoug all multilanguage fields are in local language, the taxonomy attributes are locked to English.
We have raised it with SAP, but did not get an answer we can use so far, so I wondered if somebody in here has found a solution or workaround
I know we can split attributes into languages, but not when they are mixed, only text attributes it seems.
What I do today to solve this situation is the following:
1. log into the local language in syndicator
2. File > New
3. select the port
4. u201Cexecute syndicationu201D
Thatu2019s all I do, but itu2019s manual.
Is there a way to automate this u201Cworkflowu201D via API, Java, Clix, or PI ?
All ports, PI and channels to legacy web portal are in place, I just need to trigger the port in the right language.
MDM 7.01.03.53
/Kurt
Hi RDNPrasad,
The attribute names are not same in both Norwegian and English layers. So in this case I need Norwegian attribute names in Norwegian.
Here I want to add that Attribute name is nothing but just like Field name, if it is carrying the same values as you said I agree the values of numeric attributes are same in all languages. I mean if you want Attribute name in Norwegian it does not matter what Source attribute Name you map whether its in English or Norwegian as here your Target Structure Attribute name really matters. So in this case you should give Attributes name at Target Side in all languages (English, Norwegian) etc and for source you can map clone Attribute fields as i said in my above post. Further as you said, Because I have maintained attribute names in Norwegian language also So similarly you need to maintain attribute names in Norwegian language (and all other languages) in Target structure along with English language and when you get this file from MDM, thus will have attributes name in all languages. So you need to give attribute name in all languages at target side(Destination Items).
e.g. I have two Attributes of Type Numeric languages Eng and Norwegian maintained in MDM.
InMDM TagetStructure
Color--Should map with>Target Attribute Name Color
Color(Clone)-Should map with -->Target Attribute name Farge , So in this way you will have required Attribute name in different languages with same values as Values would be remain same as it is Numeric.
suppose even if you get Attribute name of Type Numeric somehow Split, does it really matters..?
InMDM TargetStructure
Color--> Color
Farge-->Color , So here you getting Attribute name in English language though you have MDM Attributes name available in both languages. So please try to understand since all in all what matters the attribute Values. For Type Text , you can get Attribute values in different language using Split Multi-lingual and for Numeric you can use Clone or not need at all since values will remain same. So if you want Attribute name in all languages then it should be Target Side(Destination Item) and for Values in different languages it matters at source side(MDM side). I hope you got my point.
Kindly revert if you still have doubts else can mark thread as answered.
Regards,
Mandeep Saini
Similar Messages
-
Latest iWork update ("iWork Update 6", version 9.1) got my Numbers broken. I'm Polish user and I use Numbers in Polish language. After latest iWork Update I can't use Numbers - everything is fine, everything works, everything is in Polish, but...
When I select Charts in Numbers' Inspector it is in Spanish and it does not work at all - looks like broken view/nib/whatever. It is not random - I mean I've installed the update on one Mac (10.6.8) and it is in Spanish, I've installed it on my MacBook and it is in Spanish and I did not installed it on my iMac and it is working! That implicites that the "iWork Update 6" makes Numbers broken (again, not working Charts inpsector pane and Spanish instead of Polish).
However - when I change user language from Polish to English, log out and log in, than run Numbers, everything looks ok - Charts inpector pane is in English and it does work. That is kinda workaround, however this is not a solution!
I tried to install iWork from the CD (so not updated), however it doesn't work either - update must be somewhere hidden in system. I need this repaired, because it makes Numbers unusable and makes my work harder :|
Amadeusz
BTW This report bug is probably for Apple Developers/Apple Staff, however even as I'm registered developer, I can't find a way to contact them/youThis problem was already described (2011/08/11) here and I reported it as Bug # 9937633
Yvan KOENIG (VALLAURIS, France) mardi 13 septembre 2011 10:26:23
iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
My iDisk is : <http://public.me.com/koenigyvan>
Please : Search for questions similar to your own before submitting them to the community -
Oracle 9i Support for multi language is not working.. Giving question mark
HI,
We have an application which uses oracle 9i as the database. Riight now we are supporting only english and there is a requirement to support multiple languages like korean, chineese and japaneese.
But we are planning to migrate one part of the application to support multi languages. Means it may affect around 10 tables but with huge data. Totally we have around 100 tables.
How to enable the database for supporting multiple langugages.?
Is there any way to enable only the few tables supporting multiple languages. Because if we change the database level parameters for supporting languages, we may need to migrate entire tables. this will be a huge task.
Even if want to set the parameters for supporting multiple languages.. how to set it. Is it possible set it in the existing database or do we need to re-create the table with these prameters.
I have read in some documentation, that we can create table columns with nVarchar2 for supporting multi languages. I have created it. but if i copy some other language characters into those columns, it is giving question mark.
Is it possible to do search using text in native langugage like chineese..
Could somebody guide me on the above clarificationa and what would be the best approach..
Thanks in advance
Jino
Regards,
Jino George
Ext: 6520You should not use any more Oracle 9.0.1 but at least Oracle 9.2.0.8 to get some extended support if you really cannot upgrade to 10g.
I don't have any Oracle 9.x database available but I've run successfully following test with Oracle 10.2.0.1 in character mode under Linux:
oracle@pbell:~$ export NLS_LANG=AMERICAN_AMERICA.AL32UTF8
oracle@pbell:~$ sqlplus / @nls
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Aug 29 17:29:56 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> drop table t;
Table dropped.
SQL> select * from v$nls_parameters where parameter like '%SET%';
PARAMETER
VALUE
NLS_CHARACTERSET
WE8ISO8859P1
NLS_NCHAR_CHARACTERSET
AL16UTF16
SQL> create table t ( data nvarchar2(100));
Table created.
SQL> insert into t values(unistr('\76EE\7684\5730'));
1 row created.
SQL> select * from t;
DATA
目的地Try to make sure you have the right NLS_LANG setting on the client side (under Windows this is a registry setting). -
Is it possible to create an msi package if the product you are upgrading is Multilingual (MUI) and the update(msp) you are applying is not Multilingual (MUI) but "All languages"?
Please download the latest Adobe Reader patch from the below mentioned location, it will work with MUI installer.
ftp://ftp.adobe.com/pub/adobe/reader/
~Deepak -
Dynamic (session) language setting not working in external ITS v6.20
Hi everybody,
We have upgraded from ITS 2.0 to 6.20 patchlevel 35. In the service (srvc) file following parameters have been set;
~languages tr, en
~language tr
So we want our users to log on in Turkish (tr) language, but they have to be able to switch to English (en) after the logon.
This could be done in the 2.0 version without any problem using the appropriate querystring like
http://.../~flN0YXRlPTExNTguMDA0LjA0LjA0?~language=en
But it's not possible anymore in 6.20. I have checked the releates notes and forum posts, but still no solution. The intersting point is, we can switch the language at the logon page, but not after the logon page anymore. (following links work :
http://.../wgate/zabc/!?~language=en
http://.../wgate/zabc/!?~language=tr
Has anyone got an idea?
Best regards,
Ozcan.Hello Ozcan,
That is not the correct usage of ~languages and ~language. The ~language parameter is used to specify the language for the service. There should not be a way to change it. The ~languages parameter should specify which languages the user is allowed to select from during logon. Obviously, if ~language is set then the ~languages parameter is of no use.
If it was possible to do what you have specified before then it was not intended.
Edgar -
Sql developer database diff - generate script not working
Using SQL devleloper 2.1. Database diff generate script gives errors making it completely non-usable
ORA-31600: invalid input value 0 for parameter SEGMENT_ATTRIBUTES in function SET_TRANSFORM_PARAM
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
ORA-06512: at "SYS.DBMS_METADATA_INT", line 8150
ORA-06512: at "SYS.DBMS_METADATA_INT", line 9270
ORA-06512: at "SYS.DBMS_METADATA", line 4757
ORA-06512: at line 1
and
Illegal Lock State: executeOracleQuery requires connection lock to be held. oracle.dbtools.raptor.diff.oracle.table.DiffTableRefConstraints.setup(DiffTableRefConstraints.java:215) called oracle.dbtools.db.DBUtil.executeQuery(DBUtil.java:681) without it
I do get the differences visually (yes, I am bugged that constraints are not smart enough to compare on content of the constraint....problem when the contstraint names are sys-nnnnnn generated). Just cannot create the script.
Any ideas to solve this issue? Thanks in advance, KellyCan reproduce same issue in 11gR1.. DIFF works fine in 10gR2.
I noticed that 10gR2 allows something like:
DBMS_METADATA.SET_TRANSFORM_PARAM(th,'SEGMENT_ATTRIBUTES',0);
and 11GR2 returns error similar to error SQLNAVIGATOR returns while running diff:
DBMS_METADATA.SET_TRANSFORM_PARAM(th,'SEGMENT_ATTRIBUTES',0);
end;
Error report:
ORA-31600: invalid input value 0 for parameter SEGMENT_ATTRIBUTES in function SET_TRANSFORM_PARAM
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
ORA-06512: at "SYS.DBMS_METADATA_INT", line 8424
ORA-06512: at "SYS.DBMS_METADATA_INT", line 9484
ORA-06512: at "SYS.DBMS_METADATA", line 3950
Its safe to assume that this is SQLDEVELOPER bug. Hope it will be addressed sometime.
Edited by: user5420304 on Jun 15, 2010 10:29 AM -
RSS Services in Arabic language is not working
Hi All,
I have an issue when linking an Arabic RSS content to phone. It gives an error as " Http not found". Specifically speaking,I have tried to pull content from Arabic Website like (Jazeera) but gives the former although rss i supported. Please advice. ThanksJust hang on. BlackBerry 10 will have multi-lingual support.
After the phones are released, you'll be able to upgrade the PlayBook to BlackBerry 10. No idea exactly when, but RIM have said it will come.
I imagine that most BlackBerry devs are working on BlackBerry 10 and the current Tablet OS team is focused on the next version now.
Doesn't fix it now, but at least it's coming.
1. If any post helps you please click the below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you! -
LDAP Sync is not working on custom attributes
Gurus,
I have installed and configured OIM 11g release 2. While configuring OIM, i have enabled ldapsync to OID.
Created a custom attribute in OID and also on OIM. But when I change this attribute in OIM, that change is not going to OID and vice versa. There are not errors in the logs.
Please throw some light on this.While creating a custom attribute in oim, you will give label, name right..At the same time there will be an option to provide ldap attribute name. You need to provide the name of the attribute that you created in OID here. Then only ldap sync will work on custom attributes. without specifying ldap attribute name, ldap sync wiill not work.
Give a try and post your results here. -
New Browser Window not working on My Mac Intel pro
I have set a behavior in Dreamweaver CS3 to open a new
browser window to a set size and to only show scroll bars if
needed. I have left all other attributes unchecked. This is not
working for me. Can you tell me how to make a new browser window to
my settings using the behaviors in Dreamweaver CS3? I do all the
steps right. what do I do when I follow all the steps for setting
up a new browser window correctly and it doesn't work!? The new
browser window never pops up even when i use an image map. The
Behavior is not working correctly and I even re-installed
Dreamweaver CS3. I am on an intel based mac pro. Running Firefox
version 3 and Safari 3.1.2 on Leopard. I have done this several
times before and it has worked. but that was before Leopard. Here
is my code:
<area shape="rect" coords="4,3,78,77" href="#"
onClick="MM_openBrWindow('images/02.jpg','','width=378,height=504')">
The only way I can get it to halfway work is add it into the
link area
on the properties panel. The window will then open but not to
the
specified size.?
please advise as this is taking a long time to figure out!?Schafer Design wrote:
> Yes site is live! However I have been able to figure out
how to make them pop
> up with the picture in the new window but now it will
not fit to the size of
> the picture? I think it is time to take it live so I can
see how it acts on the
> server. the site is
http://www.davidmyersdesign.com.
Also having a rollover
> problem on the portfolio and contact page.
> Dreamweaver is not so dreamy to me right now!
>
This is an unusual way to go about doing this. Typically you
simply put
the thumbnails up on the page rather than combining them into
a collage
and then adding imagemaps to that.
Nevertheless, it can be done.
You have code like this:
<area shape="rect" coords="0,0,80,80" href="images/12.jpg"
target="_blank"
onClick="MM_openBrWindow('images/12.jpg','','width=378,height=504')">
Try adding
;return false
to each like this:
<area shape="rect" coords="0,0,80,80" href="images/12.jpg"
target="_blank"
onClick="MM_openBrWindow('images/12.jpg','','width=378,height=504');return
false">
E. Michael Brandt
www.divahtml.com
www.divahtml.com/products/scripts_dreamweaver_extensions.php
Standards-compliant scripts and Dreamweaver Extensions
www.valleywebdesigns.com/vwd_Vdw.asp
JustSo PictureWindow
JustSo PhotoAlbum, et alia -
Why do aria-live="assertive" not working in safari 6?
I have a .Net Web Application where the requirement is to notify the user whenever there is an automatic change on the Page. For that I have used <div> tag with role="alert" and aria-live="assertive" attributes. The Feature is not working with safari 6. An already available discussion says the feature should work with Safari 6. Please refer link https://discussions.apple.com/message/19537778#19537778
But it seems that the Fix is still not available with safari 6.
Please suggest if something is missing in the implemenation or some alternate way or workaround available.Hey everyone,
Did some more research, thanks to user dominic23, I found the answer.
Quit and relaunch and Safari.
Go to Safari Preferences > Security > Internet Plug-ins
Make sure that the box next to ' Allow all other plug-ins' it is cheked.
Also make sure that 'Allow Java' is checked as well.
Happy browsing! -
Process Trigger is not working in OIM 11gR2
Hi Experts,
The Lookup.USR_PROCESS_TRIGGERS is not working. Assigned some process task on user attribute changes but it is not working as of now. Earlier it was working fine. Even I am not able to update the existing lookup value in Lookup.USR_PROCESS_TRIGGERS as we are getting below errror:
The security level for this data item indicates that it cannot be updated.
We are not able to figure out what is the issue behind this. might be some sandbox issue or some database value problem.
Please provide me pointer to solve my problem.
Thanks,Select LKV.LKV_DATA_LEVEL from LKU LKU, LKV LKV where LKU.LKU_KEY = LKV.LKU_KEY AND LKU.LKU_TYPE_STRING_KEY='Lookup.USR_PROCESS_TRIGGERS'
If it is 1, make it 0 and try again. No need to change it for OOTB tasks/rows. -
Lens Correction Batch Application Not Working
Using LR3, I can set the lens correction then go to 'Develop Settings/Copy Settings' and the option is there for lens correction (I check all of the boxes under lens correction). If I paste the settings to just one photo, the lens correction applies. However, if I select multiple images to apply it to, it only applies it to the first image. So now my fingers are worn out from applying it manually 275 times (with ctrl/shift/v then right arrow, repeat).
Please let me know if I am doing something wrong.
TIA!!!
JesseThank you for the helpful suggestion Hamish! I will keep that in mind as an option.
I did find a way to make the batch changes.
1. Click on the photo that you want to copy the settings from, then click the 'Copy' button. A dialogue box will pop up to let you select what attributes you want to copy. Select the attributes then click on copy in the dialogue box.
2. Highlight all of the other photos in the filmstrip that you want to apply these attributes to. Be sure to include the photo you used to copy the attributes from, or this will not work.
3. Click the Sync button. -
hi dear friends
i am workink on tag files in jsp 2.0 but EL Expression is not working properly? and an compile time error occured as given below
Actually when using jsp's useBean to assign a value to it's class attribute and type attribute ,i need to give a class path ie. 'package.classname' which is stored in ss string ???????
could any buddy help me ?
error occured :=
"tablejsp.jsp": org.apache.jasper.JasperException: /WEB-INF/tags/demotags/table.tag(21,0) The value for the useBean class attribute ${ss} is invalid.
also not working::---
"tablejsp.jsp": org.apache.jasper.JasperException: /WEB-INF/tags/demotags/table.tag(21,0) The value for the useBean class attribute <%=ss%> is invalid.
where
note ss is an string variable;You can't have a "dynamic" useBean tag.
You must specify the type as a String. You can not use expressions.
ie
<jsp:useBean id="temp" class="package.classname"/>
you can NOT have something like:
request.setAttribute("myDynamicClassName", "package.classname");
<jsp:useBean id="temp" class="${myDynamicClassName"/> -
Auto_lexer (stemming) not working for other languages(other than english)
Hi All,
We are planning to use AUTO_LEXER instead of MULTI_LEXER and observed that stemming is not working for German where as it is working for English when I use AUTO_LEXER. I even used query templates but of no use.
But when i use MULTI_LEXER, creating sub lexers for German and Enlgish, Stemming is working for German also after changing the session language and setting stemmer of wod list to German (Which is expected).
Following is the code for AUTO_LEXER creation:
CREATE TABLE test_auto_lexer(pkey NUMBER(5,0),
lang_index VARCHAR2(3),
content_text CLOB,
CONSTRAINT test_auto_lexer_pk primary key (pkey))
INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
VALUES (1,'eng','I drive a bike')
INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
VALUES (2,'eng','I drove a bike')
INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
VALUES (3,'eng','I have driven a bike')
INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
VALUES (4,'eng','Just check for other things')
INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
VALUES (5,'eng','always drive a car')
INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
VALUES (6,'eng','it is nothing')
INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
VALUES (7,'ger','Ich fahre ein Fahrrad')
INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
VALUES (8,'ger','Ich fuhr ein Fahrrad')
INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
VALUES (9,'ger','Ich habe ein Fahrrad gefahren')
INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
VALUES (10,'ger','Aktivieren Sie einfach für andere Dinge')
INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
VALUES (11,'ger','immer Auto fahren')
INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
VALUES (12,'ger','es ist nichts')
INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
VALUES (13,'ger','sprechen')
INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
VALUES (14,'ger','sprach')
INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
VALUES (15,'ger','gesprochen')
INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
VALUES (16,'ger','tale')
INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
VALUES (17,'ger','Indlæg')
INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
VALUES (18,'ger','tales')
BEGIN
ctx_ddl.create_preference('auto_lexer1', 'auto_lexer');
END;
BEGIN
ctx_ddl.set_attribute('auto_lexer1','index_stems','yes');
END;
BEGIN
ctx_ddl.set_attribute('auto_lexer1','language','danish english german');
END;
BEGIN
ctx_ddl.set_attribute('auto_lexer1','alternate_spelling','german');
END;
CREATE INDEX test_auto_lexer_ix1
ON test_auto_lexer(content_text)
INDEXTYPE IS ctxsys.context
PARAMETERS ('datastore ctxsys.direct_datastore filter ctxsys.null_filter lexer auto_lexer1')
select to_char(content_Text) from test_auto_lexer where contains(content_text,
'<query>
<textquery lang="ger" grammar="context">
$fahren
</textquery>
<score datatype="integer"/>
</query>') > 0
this doesnt work even after changing the session language. My default Sesson language is AMERICAN.
Could any one help me with this, in case I am missing something here. I would be really thankful.
Edited by: Nagendra Prasad on Jan 23, 2010 12:05 AMIn the future, please begin a new thread for a new question and provide a link to a related question.
According to the online documentation, Oracle only supports stemming for English, Dutch, French, German, Italian, Spanish, and Japanese. Oracle does not support Russian stemming, although you may have gotten some accidental results, due to identifying it as a different language and applying stemming rules for that language. The following manual sections show the languages available for the index_stems attribute of the basic_lexer and stemmer attribute of the basic_wordlist:
Basic_lexer attributes:
http://docs.oracle.com/cd/E11882_01/text.112/e24436/cdatadic.htm#CIHHBAAD
Basic_wordlist attributes:
http://docs.oracle.com/cd/E11882_01/text.112/e24436/cdatadic.htm#g1019326
Also, please see the following note:
Features not available in 11.2.0.3:
http://docs.oracle.com/cd/E11882_01/readmes.112/e22488/toc.htm#BABDGGDB
"Certain Oracle Text functionality based on third-party technologies, including AUTO_LEXER and CTX_ENTITY, have been disabled in this release (reference Bug 12618046). For BASIC_LEXER, the usage of the INDEX_STEMS attribute values that depend on third-party technologies, is also affected. If this impacts an existing application, contact Oracle Support Services for guidance."
Also, the auto_lexer has been replaced by the world_lexer, which only has one attribute:
http://docs.oracle.com/cd/E11882_01/text.112/e24436/cdatadic.htm#BHCJEGFJ
I don't work for Oracle, so I don't know why they do things the way they do.
So, you need to stick with the basic_wordlist for stemming, not the lexers. However, you may get better performance by combining the multi_lexer with the basic_wordlist, as the multi_lexer eliminates time spent on automatic language detection. But, you need to remember not to use the index_stems with your lexer, since it will conflict with the wordlist. I am not experiencing any time problems as you have. Please see the demo below. I have provided the whole script below that, so that you can reproduce it on your system. If you still have problems, then it may be due to differences in versions.
-- demo:
SCOTT@orcl_11gR2> select * from v$version
2 /
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for 64-bit Windows: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
5 rows selected.
SCOTT@orcl_11gR2> select value from v$nls_parameters
2 where parameter = 'NLS_CHARACTERSET'
3 /
VALUE
AL32UTF8
1 row selected.
SCOTT@orcl_11gR2> DROP TABLE news
2 /
Table dropped.
SCOTT@orcl_11gR2> EXEC CTX_DDL.DROP_PREFERENCE ('my_wordlist')
PL/SQL procedure successfully completed.
SCOTT@orcl_11gR2> EXEC CTX_DDL.DROP_PREFERENCE ('global_lexer')
PL/SQL procedure successfully completed.
SCOTT@orcl_11gR2> EXEC CTX_DDL.DROP_PREFERENCE ('english_LEXER')
PL/SQL procedure successfully completed.
SCOTT@orcl_11gR2> EXEC CTX_DDL.DROP_PREFERENCE ('german_LEXER')
PL/SQL procedure successfully completed.
SCOTT@orcl_11gR2> CREATE TABLE news
2 (pkey NUMBER,
3 lang VARCHAR2 (2),
4 short_content CLOB)
5 /
Table created.
SCOTT@orcl_11gR2> INSERT ALL
2 INTO news (pkey, lang, short_content)
3 VALUES (1, 'en', 'I drive a bike.')
4 INTO news (pkey, lang, short_content)
5 VALUES (2, 'en', 'I drove a bike.')
6 INTO news (pkey, lang, short_content)
7 VALUES (3, 'en', 'I have driven a bike.')
8 INTO news (pkey, lang, short_content)
9 VALUES (4, 'en', 'I always drive a car')
10 INTO news (pkey, lang, short_content)
11 VALUES (5, 'en', 'This is nothing')
12 INTO news (pkey, lang, short_content)
13 VALUES (6, 'de', 'Ich fahre ein Fahrrad.')
14 INTO news (pkey, lang, short_content)
15 VALUES (7, 'de', 'Ich fuhr ein Fahrrad.')
16 INTO news (pkey, lang, short_content)
17 VALUES (8, 'de', 'Ich habe ein Fahrrad gefahren.')
18 INTO news (pkey, lang, short_content)
19 VALUES (9, 'de', 'Ich habe immer ein Auto fahren.')
20 INTO news (pkey, lang, short_content)
21 VALUES (10, 'de', 'Es ist nichts.')
22 SELECT * FROM DUAL
23 /
10 rows created.
SCOTT@orcl_11gR2> BEGIN
2 -- word list:
3 ctx_ddl.create_preference ('my_wordlist', 'basic_wordlist');
4 ctx_ddl.set_attribute ('my_wordlist', 'stemmer', 'auto');
5 -- english lexer:
6 ctx_ddl.create_preference ('english_lexer', 'basic_lexer');
7 -- german lexer:
8 ctx_ddl.create_preference ('german_lexer', 'basic_lexer');
9 ctx_ddl.set_attribute ('german_lexer', 'composite', 'german');
10 ctx_ddl.set_attribute ('german_lexer', 'alternate_spelling', 'german');
11 ctx_ddl.set_attribute ('german_lexer', 'mixed_case', 'no');
12 ctx_ddl.set_attribute ('german_lexer', 'base_letter', 'yes');
13 -- multi_lexer:
14 ctx_ddl.create_preference ('global_lexer', 'multi_lexer');
15 ctx_ddl.add_sub_lexer ('global_lexer', 'default', 'english_lexer');
16 ctx_ddl.add_sub_lexer ('global_lexer', 'german', 'german_lexer');
17 END;
18 /
PL/SQL procedure successfully completed.
SCOTT@orcl_11gR2> create index search_news
2 on news (short_content)
3 indextype is ctxsys.context
4 parameters
5 ('lexer global_lexer
6 language column lang
7 wordlist my_wordlist')
8 /
Index created.
SCOTT@orcl_11gR2> EXEC DBMS_STATS.GATHER_TABLE_STATS (USER, 'NEWS')
PL/SQL procedure successfully completed.
SCOTT@orcl_11gR2> COLUMN short_content FORMAT A30
SCOTT@orcl_11gR2> ALTER SESSION SET NLS_LANGUAGE = 'AMERICAN'
2 /
Session altered.
SCOTT@orcl_11gR2> set timing on
SCOTT@orcl_11gR2> select * from news
2 where contains (short_content, '$drive') > 0
3 /
PKEY LA SHORT_CONTENT
1 en I drive a bike.
2 en I drove a bike.
3 en I have driven a bike.
4 en I always drive a car
4 rows selected.
Elapsed: 00:00:00.05
SCOTT@orcl_11gR2> select * from news
2 where contains (short_content, '$drove') > 0
3 /
PKEY LA SHORT_CONTENT
1 en I drive a bike.
2 en I drove a bike.
3 en I have driven a bike.
4 en I always drive a car
4 rows selected.
Elapsed: 00:00:00.05
SCOTT@orcl_11gR2> ALTER SESSION SET NLS_LANGUAGE = 'GERMAN'
2 /
Session altered.
Elapsed: 00:00:00.01
SCOTT@orcl_11gR2> select * from news
2 where contains (short_content, '$fahr') > 0
3 /
PKEY LA SHORT_CONTENT
6 de Ich fahre ein Fahrrad.
7 de Ich fuhr ein Fahrrad.
8 de Ich habe ein Fahrrad gefahren.
9 de Ich habe immer ein Auto fahren
4 rows selected.
Elapsed: 00:00:00.07
SCOTT@orcl_11gR2> select * from news
2 where contains (short_content, '$fuhr') > 0
3 /
PKEY LA SHORT_CONTENT
6 de Ich fahre ein Fahrrad.
7 de Ich fuhr ein Fahrrad.
8 de Ich habe ein Fahrrad gefahren.
9 de Ich habe immer ein Auto fahren
4 rows selected.
Elapsed: 00:00:00.16-- script for you to reproduce the demo on your system:
select * from v$version
select value from v$nls_parameters
where parameter = 'NLS_CHARACTERSET'
DROP TABLE news
EXEC CTX_DDL.DROP_PREFERENCE ('my_wordlist')
EXEC CTX_DDL.DROP_PREFERENCE ('global_lexer')
EXEC CTX_DDL.DROP_PREFERENCE ('english_LEXER')
EXEC CTX_DDL.DROP_PREFERENCE ('german_LEXER')
CREATE TABLE news
(pkey NUMBER,
lang VARCHAR2 (2),
short_content CLOB)
INSERT ALL
INTO news (pkey, lang, short_content)
VALUES (1, 'en', 'I drive a bike.')
INTO news (pkey, lang, short_content)
VALUES (2, 'en', 'I drove a bike.')
INTO news (pkey, lang, short_content)
VALUES (3, 'en', 'I have driven a bike.')
INTO news (pkey, lang, short_content)
VALUES (4, 'en', 'I always drive a car')
INTO news (pkey, lang, short_content)
VALUES (5, 'en', 'This is nothing')
INTO news (pkey, lang, short_content)
VALUES (6, 'de', 'Ich fahre ein Fahrrad.')
INTO news (pkey, lang, short_content)
VALUES (7, 'de', 'Ich fuhr ein Fahrrad.')
INTO news (pkey, lang, short_content)
VALUES (8, 'de', 'Ich habe ein Fahrrad gefahren.')
INTO news (pkey, lang, short_content)
VALUES (9, 'de', 'Ich habe immer ein Auto fahren.')
INTO news (pkey, lang, short_content)
VALUES (10, 'de', 'Es ist nichts.')
SELECT * FROM DUAL
BEGIN
-- word list:
ctx_ddl.create_preference ('my_wordlist', 'basic_wordlist');
ctx_ddl.set_attribute ('my_wordlist', 'stemmer', 'auto');
-- english lexer:
ctx_ddl.create_preference ('english_lexer', 'basic_lexer');
-- german lexer:
ctx_ddl.create_preference ('german_lexer', 'basic_lexer');
ctx_ddl.set_attribute ('german_lexer', 'composite', 'german');
ctx_ddl.set_attribute ('german_lexer', 'alternate_spelling', 'german');
ctx_ddl.set_attribute ('german_lexer', 'mixed_case', 'no');
ctx_ddl.set_attribute ('german_lexer', 'base_letter', 'yes');
-- multi_lexer:
ctx_ddl.create_preference ('global_lexer', 'multi_lexer');
ctx_ddl.add_sub_lexer ('global_lexer', 'default', 'english_lexer');
ctx_ddl.add_sub_lexer ('global_lexer', 'german', 'german_lexer');
END;
create index search_news
on news (short_content)
indextype is ctxsys.context
parameters
('lexer global_lexer
language column lang
wordlist my_wordlist')
EXEC DBMS_STATS.GATHER_TABLE_STATS (USER, 'NEWS')
COLUMN short_content FORMAT A30
ALTER SESSION SET NLS_LANGUAGE = 'AMERICAN'
set timing on
select * from news
where contains (short_content, '$drive') > 0
select * from news
where contains (short_content, '$drove') > 0
ALTER SESSION SET NLS_LANGUAGE = 'GERMAN'
select * from news
where contains (short_content, '$fahr') > 0
select * from news
where contains (short_content, '$fuhr') > 0
/ -
'ServerProperty' with 'Name' = 'Language' does not exist in the collection
LS,
One of my customers (using ssas 2012) is facing collation issues which result in missing facts in the cubes. I suggested them to have a look at the Analysis Server Properties. Howevere, on selection of the Analysis Services Properties page 'Language-Collation',
it doesn't open the page showing the properties, but instead the following message pops up:
'ServerProperty' with 'Name' = 'Language' does not exist in the collection
Any ideas on what could have caused this and how it can be fixed ?
We're considereing a restart of the SSAS server, but need to be very carefull because it's their production environment.
Appreciate your help,
Kind regards,
Cees
Please remember to mark replies as answers or at least vote helpfull if they help and unmark them if they provide no help.I am also experiencing this error when clicking on the Language/Collation page of the Analysis Services Properties dialog.
I suspect this is causing some other strange behavior such as an "invalid characters in hierarchy names" error when deploying an SSAS database, when the same solution/project can be deployed successfully from other machines. In that case, there are parenthesis
in the attribute name but no user-defined hierarchies. Error:
Errors in the metadata manager. The name, 'Project ID (Description)', for the cube hierarchy is not valid because this name is a reserved word, contains one or more invalid characters (.,;'`:/\*|?"&%$!+=()[]{}<>), or is longer than 100 characters.
I would like to avoid having to re-install SSAS if at all possible. Any help is much appreciated.
LB
Maybe you are looking for
-
Unable to see my Generation 2 Apple TV under iTunes 10.6.1
I would like to download photos from my new iMac but I am unable to see my Generation 2 Apple TV under the left-hand tab column in iTunes 10.6.1. There is no mention of Apple TV under the iTunes Preferences. I am unable to download movies to my App
-
Hi all, I encountering a small issue in Logic Pro 8.0.2. I record an audio track maybe 4 bars. After listening I decide I only want the second two bars. I used to be able to (in express 7.2) just drag the file to the beginning of the 3rd bar and that
-
what happend to the confetti and the water droplet transitions? I can't find them in the 09 version of keynote?
-
Max. no. of rows in excel
<p>Hello,<br><br>I have a question about the maximum number of rows that an excelsheet can display. I have a drill through report which retrivesmore than 65000 records and I read that excel can display only 65Krows. Is there any setting which can be
-
Display .gif In Applet Problem
I have been making a game. Very simply, the game has a main class and another truely important class that extends JFrame, it is the map. In it i need to upload .gif files and display them. It worked up until recently because i needed to make a sepper