Nls_language to be set for english stop words to work,10gR2 on Linux

Hi,
When we search a phrase using contains and if the phrase has a stop word in it then the stop word is identified by Oracle depending upon the session language.
When I set the nls_language for the session to AMERICAN, stop word is not being detected and when I set the language to 'ENGLISH', it is being detected.
Is this because the english being refered in the Full Text corresponds to 'ENGLISH' and not 'AMERICAN'.
I guess it should refer to both american and english also.
It would be nice if anyone can clarify this ASAP.
Thanks a lot in advance.

This is what I am trying to do while creating the index,
begin
execute immediate 'drop table text_search';
exception
when others then
null;
end;
create table text_search (content clob, lang varchar2(3) );
insert into text_search values ('Sun rises in the east','eng');
insert into text_search values ('Sun cet evening','fre');
commit;
begin
ctx_ddl.drop_preference('global_lexer');
exception
when others then
null;
end;
begin
ctx_ddl.drop_preference('english_lexer');
exception
when others then
null;
end;
begin
ctx_ddl.drop_preference('french_lexer');
exception
when others then
null;
end;
begin
ctx_ddl.drop_preference('german_lexer');
exception
when others then
null;
end;
begin
ctx_ddl.create_preference('english_lexer','basic_lexer');
ctx_ddl.create_preference('french_lexer','basic_lexer');
ctx_ddl.create_preference('german_lexer','basic_lexer');
ctx_ddl.set_attribute('german_lexer','composite','german');
ctx_ddl.set_attribute('german_lexer','mixed_case','yes');
ctx_ddl.set_attribute('german_lexer','alternate_spelling','german');
end;
begin
ctx_ddl.create_preference('global_lexer', 'multi_lexer');
ctx_ddl.add_sub_lexer('global_lexer','english','english_lexer','eng');
ctx_ddl.add_sub_lexer('global_lexer','french','french_lexer','fre');
ctx_ddl.add_sub_lexer('global_lexer','german','german_lexer','ger');
ctx_ddl.add_sub_lexer('global_lexer','default','english_lexer');
end;
begin
ctx_ddl.drop_preference('mywordlist');
exception
when others then
null;
end;
begin
ctx_ddl.create_preference('mywordlist', 'BASIC_WORDLIST');
ctx_ddl.set_attribute('mywordlist','STEMMER','ENGLISH');
end;
begin
ctx_ddl.drop_stoplist('multistop');
exception
when others then
null;
end;
begin
ctx_ddl.create_stoplist('multistop', 'MULTI_STOPLIST');
ctx_ddl.add_stopword('multistop', 'cet','french');
ctx_ddl.add_stopword('multistop', 'the','english');
ctx_ddl.add_stopword('multistop', 'for','english');
ctx_ddl.add_stopword('multistop', 'all','english');
ctx_ddl.add_stopword('multistop', 'in','english');
end;
begin
execute immediate 'drop index my_text_search_idx';
exception
when others then
null;
end;
CREATE INDEX my_text_search_idx ON text_search(content)
INDEXTYPE IS CTXSYS.CONTEXT
parameters ('datastore ctxsys.direct_datastore filter ctxsys.null_filter lexer global_lexer wordlist mywordlist language column lang stoplist multistop');
while searching:
NLS_LANGUAGE For the session is 'AMERICAN'.
I run the query,
select * from text_search where contains(content,'$"Sun rises in the east"') >0;
gives no result.
I change the session language as below and the query gives the result.
alter session set nls_language = 'english' ;
Same is happening when I tried for different languages.
Please note that we need to maintain a custom stop list containing stop words for multiple languages.

Similar Messages

  • Help Me..iTunes has allowed password set for volume, but password wont work

    I just received my iPod Shuffle yesterday. iTunes 7, allowed me to set a password for my iPod Shuffle (for volume control), but the password wont work, yikes.... It's the same password I always use. The volume is so low, I can barely hear it. I uninstalled iTunes and reinstalled it, but my iPod still remembered its password, I tried the Restore under settings in iTunes... no luck.
    The error message I get when I try to restore is (same as when I try to access the iTunes Store, which I cannot access either):
    ITunes could not connect to the iTunes Store. The network connection timed out.
    Make sure your network settings are correct and your network connections active, then try again.
    I have cable access to the internet, and that's just fine. I've tried to use the command line to run ipconfig / (I forgot what it said to type after the slash), but I did this twice and it was successful.
    I checked my firewall for exceptions, and iTunes is one, so that should be alright. Maybe it's the McAfee Security Center
    I would really appreciate any help that you might have to offer.
    Thanks!
    Sky

    Here was the problem:
    I found out that I had two firewalls up! I would think that wouldn't be possible. Both Windows and Symantec firewalls. Once my friend took down the Windows one, she was able to restore the ipod shuffle to factory settings and go to the ITunes Store. I'm too chicken to apply a password on it again.
    Before my friend helped me, I called the 1-800 help line (in India, 9 hours ahead of us, and I think it was after mid-night-but I could not tell I woke her up, I felt bad) and she had me try a few things and I forgot to get her help on putting everything back. But I did sort of write down the changes and was able to retrace and return it to what the PC was.
    I just wanted to share this in case anyone else does this.

  • Upgrade to iOS 6.1.3 for iPad stopped cable from working

    Hey guys, not too long ago I finally decided to upgrade to ios 6.1.3., because a lot of the apps I wanted needed it. After updating it, my cable to connect to the tv (30 pin male to hdmi female cord from Apple store) stopped working, displaying the message 'This accessory is not support by the iPad'. And the T.V. screen remains black. Has anyone else experienced this and/or solved this issue? Can it be solved at all? Because it's a real **** off, especially since I didn't want to upgrade to ios 6 in the first place. My iPad literally just lost half of its usefulness.

    That's not possible on a device other than an iPhone 3GS.
    (94512)

  • Please help download complete content set for garageband

    I just bought a new iMac (the one without a cd drive!) and I'm trying to download the complete content set for garageband but nothing is working. I can't do anything in the app store and there are no updates to be found. please help!

    Flying Toad wrote:
    After downloading the '09 version from Apple for free I ran into an error when attempting to install it on my computer. It says "This update does not need to be installed. A newer version of Garageband is already installed."
    the problem is that you didn't D/L GBv5 ('09), you D/Led the update for version 5 to v5.1, not the entire v5 installation.
    you'd need to either restore GBv5 from a backup, or buy a copy of GBv5 (or v6) from someplace like eBay or Amazon (it's not available for free from Apple)

  • Hi, macbook pro word dictionary is set to english (Aus) but is still checking for French corrections. Any suggestions?

    Hi, my word dictionary is set to english (Aus) but is still checking in french. Any suggestions?

    http://www.apple.com/fr/batteries/

  • How do i set my ipad for english and enter Netherlands as country of residence?

    I live in The Netherlands but want my language set to English.
    Also when I ask for an app, my billing address is in the Netherlands, but I want to set country to USA,
    otherwise everything turns to Dutch language

    The language of your iPad and apps (except the two stores which will be the language of the country where your account is based) should be what you set in Settings > General > International > Language
    If you set your account's address to the US then you will need to be in the US in order to buy anything - and if using a credit card then that would also need to be registered in the US

  • How do you change the default setting for RTF documents from TextEdit to MS Word

    How do you change the default setting for RTF documents from TextEdit to MS Word, I download forms from the Canadian government and they use RTF as a standard, they are supposed to open as MS Word documents (Yes I have Office for MAC 2011) but when download the document it goes to TextEdit which messes up the form format. I can down load it right click and go "open with" MS Word but how can I get the default chnaged to save this step.

    richr604 wrote:
    Thanks I knew this, I like Safari as I want to keep everything MAC, but if I use Firefox the documents open in MS Word straight away, I was just curious if there was some setting I could change?
    In Firefox > Preferences, click the Applications tab. If RTF is there, use the pulldown menu in the Action column to pick MS Word. If RTF is not there, there are instructions here for how to add file types.

  • How does one install non-English character sets for use with the "find" function in Acrabat Pro 11?

    I have pdf files in European languages and want to be able to enter non-English characters in the "find" function. How does one install other character sets for use with Acrobat Pro XI?

    Have you tried applying the update by going to Help>Updates within Photoshop Lightroom?  The update should be using the same licensing?  Did you perhaps customize the installation location?  Finally which operating system are you using?

  • I have everything set for Arabic fonts and the keyboard as well. When I type in WORD or EXCEL I just get individual Arabic letters, but they never connect, they should be for example like this   الس    but they always appear like that ا ل س

    I have everything set for Arabic fonts and the keyboard as well. When I type in WORD or EXCEL I just get individual Arabic letters, but they never connect, they should be for example like this   الس    but they always appear like that ا ل س

    MS Word for Mac has never supported Arabic.  You have to use other apps.  Mellel is best, but Pages 5, TextEdit, Nisus Writer, or Open/LibreOffice should work OK.
    Sometimes you can make Word for Mac do connected Arabic if you are editing a document created with Windows Word.

  • Word for mac keeps stopping, word for mac keeps stopping

    word for mac keeps stopping, word for mac keeps stopping
    I am trying to make some business cards in the program provided and when I copy it starts thinking and working and then stops.
    This cause me to wait and then have to do the hole process over agin with the same happening the next time.

    That sounds like a Microsoft issue, please re-post in the Office for Mac Product Forums.
    Good luck.

  • Is there a DJ app for the Ipad that will read the "start" and "stop time" setting for each individual song, as they are set in the song Options screen in Itunes?

    Is there a DJ app for the Ipad that will read the "start" and "stop time" setting for each individual song, as they are set in the song Options screen in Itunes? The Ipod Touch, by itself does not allow cross-fading, therefore when the stop time is edited short, the song jusst truncates then goes to the next song. I tried the DJay ap and while it would crossfade, it would NOT read the song settings for the stop marker. So now I want to try and Ipad and see if there is an app that will READ the Itune stop settings within the song. I do NOT want an app that will allow me to DO the stop marker. I want an app that will READ the stop marker from the song as it is set in Itunes.

    Itunes provides the option for setting the Start and Stop times of each music track.  However, the start and stop times do not synchronize to the iPhone.  I don't understand why this option is even available as it doesn't work when listening to music on the phone.  I have not found another application that will support the start and stop time markets.  I have searched quite a bit for this but can't find anything.  I hope we can find something. 

  • Language is Spanish. I need English.  The File 1 of 1 is set for the Spanish. How can I change the language?

    My installation menu is set for Spanish. How can I change the setting to English?

    Creative Cloud Help / Adjust the install language | Creative Cloud applications | CCM -
    http://helpx.adobe.com/creative-cloud/kb/change-installed-language.html

  • Ringtone set for text alert, doesn't stop playing

    i have a ringtone set for my text alert, whenever it plays and i toggle the silent switch the ringtone keeps playing, especially if I get multiple texts. How do I fix this?

    I have also run into this with using the Web Object Interface and pointing it to an HTML page that we host which displays a streaming (Video On Demand or VOD) video ever since we started using Captivate 7.0
    What is strange about this is that this problem only occurs in the FLASH-format published output from Captivate (we now use 7.0.1).
    When testing out the exact same course using the HTML5 output that was published (tested on an iPad) the audio from the previous slide actually stops playing when we go to a different slide.  This is the desired result and it works fine.
    I have just posted a bug report at the link that you provided (thanks) because the part of the Captivate program which publishes the Flash version of the course does not seem to be destroying the previous web object when the student goes to a different slide.

  • Default Printer setting for 2600n causing spinning flashing cirlce cursor in MS Word 2007

    Printer drivers for HP2600n are causing spinning and blinking curor in MS Word 2007.  I couldn't print in IE9 due to script errors.  HP Help said to uninstall and reinstall printer.  After reinstalling, I can print in IE9, but now MSWord 2007 has a blinking, spinning, flashing circle on top of the curor.  It's maddening and I can't edit.  I've run all the "fixes" for MS and Word to no avail.
    I've scoured the web to find it's the "default printer" causing the problems.  I had to delect the HP as default, and then the spinning circle goes away.   But... when I manually select the HP to print within a Word doc, it re-activites the crazy cursor and I must close the doc.
    I'm using 32bit Vista, Windows Office 2007, IE9, HP 2600n
    Do you have a fix or a patch?  Many thanks to a kind person for a solution!

    Printer drivers for HP2600n are causing spinning and blinking curor in MS Word 2007.  I couldn't print in IE9 due to script errors.  HP Help said to uninstall and reinstall printer.  After reinstalling, I can print in IE9, but now MSWord 2007 has a blinking, spinning, flashing circle on top of the curor.  It's maddening and I can't edit.  I've run all the "fixes" for MS and Word to no avail.
    I've scoured the web to find it's the "default printer" causing the problems.  I had to delect the HP as default, and then the spinning circle goes away.   But... when I manually select the HP to print within a Word doc, it re-activites the crazy cursor and I must close the doc.
    I'm using 32bit Vista, Windows Office 2007, IE9, HP 2600n
    Do you have a fix or a patch?  Many thanks to a kind person for a solution!

  • Any word yet if Apple will be making a Mac Box Set for Lion?

    It seems like they would since they no longer stock the Mac Box Set for Snow Leopard. I need the box set in order to reset my iMac to factory settings and no longer have the original discs. I tried getting replacements through Apple and they said I would have to purchase all the software separatly. I wish Apple would come out with the Lion box set already. I'm trying to avoid purchasing the Snow Leopard, iLife and etc, etc and then a week later a Lion Box Set comes out. I wonder if Lion discs will come out once they reveal the iPhone 5? Thanks!

    The short of it is that, until Apple officially announces something, we don't know.
    Keep in mind, though- Apple is moving away from physical media, especially disc-based.  Lion is only available by download or USB drive. 
    We don't know if Apple will ever release a Lion "Box set" with iLife, or by what media/method.  We just don't know.

Maybe you are looking for

  • Why this statement doesn't work?

    I have two table job and job_status,I use Page Process try to insert records to job_status, but the select query doesn't work, it display all the job in job table didn't filtered out the job matching the query, do someone know why? Any suggestion wil

  • Invoice mailing to vendor

    Hi, I have to mail the invoices automatically to vendors. I already configured the SMTP node with SCOT transaction and scheduled the SMTP job.I have also assigned to vendor the email address. I create the vendor invoice with transaction F-43 and when

  • OBIEE 11.1.1.6 dashboard reports embeded into JS_HTML_JAVA pages

    Customers asked us to use OBIEE dashboard reports(Framework) embeded into the specail pages which are developed through Java + JS+ Html. Could you please tell me how to implement this functionality? Thank you for your kindly help. For example: Logo I

  • How do i get my macbookpro to use iMessage

    have an old (2012) mac and want to get iMessage. problem is, is that it says i have the latest software update already installed.

  • Syncing ibooks from pc to iphone

    can't get my ibooks to fully download onto my 5c phone from my PC after updgrading to ios 8. online manuals have not helped. what am i missing? i've updated itunes and followed the directions for syncing, but nothing works. the books have been "downl