Does the . character a reserved character?

Hi,
I would like to search the following information in a full text index: *10.1139/f91-051* I am then submit the following query:
select * from mytable where contains(my_column,'"10.1139/f91-051" WITHIN doi') > 0
but it does not return any data. However, when I replace the *.* character by a _*, I can retrieve my document:
select * from mytable where contains(my_column,'"10_1139/f91-051" WITHIN doi') > 0
Does the *.* character a reserved character? But when I try to escape it, it does not work neither:
select * from mytable where contains(my_column,'"10\.1139/f91-051" WITHIN doi') > 0
What did I do wrong?
In the same way, what query should I submit to find all the I.B.M. words from my index for exemple?
Kind regards,
Fred
Edited by: user503159 on 31 juil. 2009 02:29

I'm unable to reproduce this exactly as you've stated.
A few things to note:
- The double quotes in your query have no effect. There is no "phrase" operator in Oracle Text, tokens that follow each other are a phrase by default
- The "-" character is a special operator, and needs to be escaped to be treated as a literal (you can precede it with a backslash or put braces (curly brackets) round the whole search term)
- "\" and "/" are break characters by default.
- "." is a join character ONLY within numbers. It's a break character within normal alphabetic text.
Run the folliowing:
-- drop table t;
create table t (x varchar2(2000));
insert into t values ('<doi>10.1139/f91-051</doi>');
create index ti on t(x) indextype is ctxsys.context parameters ('section group ctxsys.auto_section_group');
select token_text, decode(token_type, 0, 'Normal', 2, 'Zone Section') as "Token Type" from dr$ti$i order by token_type;The last query shows us what tokens are indexed. We should see:
TOKEN_TEXT                                                       Token Type
051                                                              Normal
F91                                                              Normal
10.1139                                                          Normal
DOI                                                              Zone SectionSo we can run a query without the break characters
SQL> select * from t where contains (x, '10.1139 f91 051 within doi') > 0;
X
<doi>10.1139/f91-051</doi>or we can run a query with the break characters in it, but with the "-" character escaped:
SQL> select * from t where contains (x, '10.1139/f91\-051 within doi') > 0;
X
<doi>10.1139/f91-051</doi>The query that you claimed worked does not work for me because the "-" operator is not escaped (I'm on 11g - it's possible the behaviour is different in earlier versions, but unlikely)
SQL> select x from t where contains(x,'"10_1139/f91-051" WITHIN doi') > 0;
no rows selectedAs for your question about searching for "I.B.M.", you can search for "I.B.M." or "I B M" and it will find it. You can also set "." to be a SKIPJOINS character, in which case you can search for "I.B.M." or "IBM" (but not "I B M").
Note there is a gray area for tokens which are partly numeric - "1.23ABC" will probably be indexed as a single token, whereas "ABC1.23" will probably be indexed as two tokens "ABC1" and "23". This is because for performance reasons the lexer does not backtrack - when it hits the "." in the first example it thinks it is handling a pure number and therefore treats the "." as a numeric join character.

Similar Messages

  • Why does the character size keep changing to extreme small on the home page?

    With the new Firefox downloaded the character type changes to extremely small print every time I go away from the home page. I then have to reset it to larger print. With old Firefox the print size remained as I set it all the time.

    You didn't restore the device as new before you began using it.  Do so now, and use your own Apple ID & password from now on.
    Go to Settings > General > Reset > Erase All Content & Settings. 
    Then, in the Setup Assistant, use only your own information.

  • 'Highlight' Character Style -- Why Does the Font Change?

    I want to define a style that mimics a highlight marker.
    Choose some text, set the background/fill to yellow.
    Highlight filled words, then choose 'Define Style From Selection..."
    Then, in the More... selection I deselect every attribute of the character style except for the fill colour. So this should highlight text, but leave every other attribute of the text unchanged -- I think.
    But whenever I apply it, the font changes to something I don't recognise -- even though the font is not a part of the character style description.
    What am I doing wrong?
    TIA

    You need to make sure the font is embedded in the PDF. This is optional in some sofware.
    If it is not embedded, your local font is used. No such local font exists on the iPad.

  • What does the "Next to Character" option do in a template?

    Hi,
    It's not clear what the "Next to Character" option does when set in a template for the Dialogue style.
    I am assuming that it should allow for the first line of dialogue to start on the same line as the Character.
    If this is the case, I don't think it works.
    Please could someone explain what this feature is supposed to do?
    I want to use Story but need to be able to format my script in BBC Radio style which has dialogue starting on same line as the character.
    Kind regards
    Mark

    Hi Sunny,
    Thanks for your reply.
    I think the current label for this feature could be better explained as "number next to character".
    Thanks for prioritizing the new feature though. That will be useful for a number of projects I am about to start.
    Will it be possible to create a template now to start with and apply a new template with the new feature at a later date once implemented?
    Cheers
    Mark

  • The "delete Key" removes the character to the left, as a backspace key does, can this changed?

    The "delete Key" removes the character to the left, as a backspace key does, can this changed?

    Yes, hold the FN key down as you hit delete to delete from the right.

  • How can I restore the character viewer?* Changing options in Language/KeyboardPref does not help

    How can I restore the character viewer?* Changing options in Language/Keyboard Pref does not help...

    Tom may be refering to these..
    /Users/YourUserName/Library/Preferences/ByHost/com.apple.HIToolbox.12digit Hex#.plist
    /Users/YourUserName/Library/Preferences/com.apple.CharacterPaletteIM.plist
    /Users/YourUserName/Library/Preferences/com.apple.CharacterPicker.plist

  • My new wirelss keyboard is repeating the "\" character endlessly; also inserting them into the string of characters I'm typing.  It does is in word and in both safari and firefox.  How do I get this to stop?

    My new wireless keyboard is repeating the "\" character endlessly.  It also inserts the '\" into strings of characters as I type them in word or safari or firefox.  I can't erase the characters fast enough or type fast enough not to get these characters.  \Help!

    Try changing the batteries on the keyboard or see if the keyboard has some sort of reset available.

  • I can't change my font from the character menu, how do I fix this?

    Basically, the only way I can change my font is through the Type>Font menu up top (and by right clicking), but the list in the character palette and the control bar are empty. I can type in the name of the font I want and it will complete it, but even then it doesn't change anything. It is really inefficient for me to have to scroll through all the fonts every time, especially when I have no idea what font I want (or if the one I want is at the bottom of the list).
    It started doing this just out of the blue a few months ago, before then it was working fine, no idea what set it off. I can't print from Illustrator either, maybe it's part of the same problem (that started earlier).
    My version is CS2. Windows XP. I don't think that my boss is going to upgrade either in the near future. It's a small company, we don't have IT help.
    I've done some searching and have already tried:
    -uninstalling the old Illustrator 9 that was on here
    -deleting the aiprefs file
    -deleting the entire folder it was in
    -deleting all of the Adobefnt*.lst files I could find
    -restarting Illustrator, the computer several times
    I haven't tried reinstalling Illustrator yet. Don't know where the CD is, so it's a last resort.

    Oh dear. It looks like I have made things much, much worse.
    (I did indeed do my deleting with Illustrator closed, and tried moving before deleting)
    I opened it up again and did some work. I tried saving my file (in .ai format, variety of shapes, layers, fonts), when it told me that an unknown error occured, then another message that said something like "Can't finish previewing, not enough memory ID=-108", and then it crashed. Turns out that now it doesn't like fonts at all and it isn't too keen on shapes either.
    Found the CD. Uninstalled CS2, told it to delete my preferences file but keep the computer activated. Killed Adobe reader while I was at it (haven't reinstalled yet). Looked through my program files for any traces it left behind but didn't see anything (under Program Files>Adobe, and Documents and Settings>Application Data>Adobe). Restarted the computer and reinstalled Illustrator (well, I tried repairing first but that didn't do anything). And nothing has changed. Still can't access the fonts, and now I have errors opening/saving files too. There was another, new error, something something 6654 I believe.
    I'm baffled.

  • Sharepoint 2007 list error - The '}' character, hexadecimal value 0x7D, cannot be included in a name. Line 1, position 440.

    Hi Everyone,
    We have a sharepoint 2007 deployment which in general has been fine since it was built.  
    Version is 12.0.0.6421 (MOSS 2007 SP2 (KB953334 & KB953338))
    on a Windows 2003 R2 SP2 server.
    We created a list a while back to store information for our servers but for some reason it now has an error.
    the symptoms are:
    1) Navigating to the list and choosing any view (a few custom views), we can see the data fine
    2)  Creating new items or modifying existing items brings up:
    An unexpected error has occurred.
    3) Trying to access the list settings brings up:
    An unexpected error has occurred.
    4) Using "view all site content" and clicking on the list brings up:
    The '}' character, hexadecimal value 0x7D, cannot be included in a name. Line 1, position 440.
    I've attempted to search for the error online but the error doesn't bring back anything specific to Sharepoint.
    My gut feeling is either a corruption of the list or a user has entered an invalid character in one of the list entries, but I cannot amend the list in any way.
    Ordinarily I would advise the user to re-create the list and enter the information from scratch, however this list contains alot of information and is crucial to the server teams documentation.
    Does anyone have any ideas on where I should be focusing my search efforts?  I did check the logs and couldn't see any obvious entries for this list.
    Any assistance would be greatly appreciated.
    Cheers,
    Carl

    Posted this a few weeks back - would appreciate any suggestions?
    Thanks,
    Carl

  • Can I take an image created in Illustrator and have it be on the Character Map? I need to use it as

    I have an image that I need to use as a bullet many times for a specific client. Is there a way to take that image from Illustrator and convert it to something on the Character Map?

    If by Character Map, you mean the Windows Character Map application, which lets you view the glyphs in a given font, then no, you can't do that with Illustrator.
    In order for your bullet (a new glyph) to appear in the Windows Character Map application, it would have to be a glyph inside a font.
    Illustrator does not provide the capability of directly editing font files. (Corel Draw does.)
    So if you want to edit an existing font, or create a new font, you need a program that can edit and/or modify fonts.
    In modifying fonts, you would be restricted by the limitations inherent in fonts: your custom bullet or dingbat would need to consist of a single simple or compound path, and could only receive one color, as any other text object.
    The far more common approach to this problem is to use inline graphics. All of Illustrator's mainstrream competitors (and even InDesign) allow you to paste a graphic into a textframe, inline with the text, and have it behave as if it were a character in the text. Illustrator has never provided that commonplace feature.
    If you use InDesign you can, as a ridiculously cumbersome workaround, create your text object in InDesign, paste the artwork element(s) inline. When done, copy the whole text object and paste into Illustrator. It will be pasted into AI as PDF content, meaning a Clipping Mask containing a bunch of individual pointType objects and the bullets as separate objects.
    JET

  • How to replace the '&' character with '&' in xi

    Hi,
    i need to replace the '&' character with ' &amp;'.but i f i am converting it is displaying as '&' because internally '&amp;' = '&'.
    beacuse of this it is not converting.
    is there any possiblity to change the  standard conversion in xi.

    Graphical mapping does not support special character like & , <,> to be mapped.
    You can encode & as and in UTF-8 only.
    if you want the special character to be used, Opt XSLT mapping with ISO-8859-1 encoding
    <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="xml" encoding="ISO-8859-1"/>
    <xsl:template match="/">
    <xsl:copy-of select="*" />
    </xsl:template>
    </xsl:stylesheet>
    How to Work with Character Encodings in Process Integration (NW7.0)
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79fb42

  • Filenames and the £ character

    hello,
    is the £ symbol supported in filenames on the command line? if not, how are files with £ characters in the name dealt with, or by what name are they given?
    i have a zip file containing a file whose file name contains a £ character, and i am unable to extract this file (using unzip on the command line)
    on other unix based systems the file can be extracted and the £ is usually replaced by a ? or something.
    nb - i'm not after a way to extract the file, i am trying to find out why the system won't let me extract it
    cheers
    jon

    Hi Jon,
       This is an ill-posed question. What character set does the filename use? In what encoding is that character set encoded? The default HFS character set is unicode in canonical, decomposed form and the encoding is UTF-8. What was it on the system from which the file was copied? You can read about "canonical, decomposed form" in the Apple reference, Technote 1150: HFS Plus Volume Format: Unicode Subtleties.
       With what utility are you trying to read that filename? What shell are you using? What terminal are you using? Support for unicode, particularly in "canonical, decomposed form," varies considerably between utilities and even between different versions of each. A precise explanation would require all of this background information, would require considerable analysis on the part of a rather knowledgeable individual and would require a fair amount of typing to treat thoroughly. So unless you have lots of time and find someone capable, you'll have to settle for, "sometimes it works and sometimes it don't." For what it's worth, there are errors in the display more often than there are errors in the way the utilities actually function. I've seen utilities work perfectly when the command output looked like garbage.
       In this case, use an asterisk instead of a question mark and if every other character matches the filename, the command should work as expected. Use an "mv" command to rename the file.
    Gary
    ~~~~
       The greatest griefs are those we cause ourselves.
             -- Sophocles

  • In Unicode Programs , the "-" CHARACTER CANNOT APPEAR IN NAME

    HI,
       I am checking the routines for the transfer rules(0SRM_GLSPEND_INVOICE) in the ODS Object (0GLS_INV).
    WARNING :In Unicode programs, the "-" character cannot appear in names, as it does here in the name
    " L-LOCAL_ID"
    this is only before unicode conversion .
    thanks & regards
    subba reddy.

    HI,
       I am checking the routines for the transfer rules(0SRM_GLSPEND_INVOICE) in the ODS Object (0GLS_INV).
    WARNING :In Unicode programs, the "-" character cannot appear in names, as it does here in the name
    " L-LOCAL_ID"
    this is only before unicode conversion .
    thanks & regards
    subba reddy.

  • Illustrator CS4 crashes when scrolling through fonts via the character palette

    Hi,
    Question say it all - am using CS4 on macbook pro laptop. Does anyone have any idea why this would happen every time since installation? It only crashes when previewing fonts via the character window.
    Ant

    Hi & thanks for your reply.
    No problems with the fonts as far as I can tell via font book validation.
    Ant

  • Changing the character set in RoboHelp 7 file converted from 5

    The character set of the output files for WinHelp defaults to
    utf-8. How can the default be set to windows-1252 per project or
    for all projects in RoboHelp 7?

    This is related to the posting - "RoboHelp 7 (with patch) IE6
    does not display popup field definitions". Somewhere in our
    environment the character set is getting changed to western
    european (ISO) for the pages that do not load initially in IE6/XP
    from the OAS even though the code generated by RoboHelp is utf-8.
    The WebHelp generated in RoboHelp v5 has a characterset of
    windows-1252. None of the pages with the character set of
    windows-1252 have a problem loading (or changing the character
    set). The problem may be on the OAS or the single signon
    layer.

Maybe you are looking for

  • Deleted all the 2217 songs from itunes...

    I, ofcourse, HAD to play with the music folder in my finder, and had to ACCIDENTLY delete all the songs. So, i go into itunes and, as ever, hit 'play'... when, SUDDENLY.. Thank you thank you, no need for comments itunes can' locate any of my songs. p

  • Moving catalog and photos with external drive, Elements can't see catalog database

    Tried searching, but couldn't find my situation.  I have an old computer with a second hard drive (1.5 TB).  I pulled it from my old computer and put it in the new computer. I also copied my "My Catalog" folder which contains the catalog database fil

  • Igfxtray.exe has stopped working

    Hi, The error message "igfxtray.exe has stopped working" appears every time I start my computer (a newly bought asus G551jm running Windows 8.1). I already tried to reinstall both the Intel and the Nvidia graphic drivers but the message keeps popping

  • Invalid license after moving software to a new computer; old version disengaged

    I bought a new MacBook Pro. I copied PhotoShop Elements 10, along with other software, from my old Mac and added it to the new one. I got a request on the new Mac to enter the license. I did that and receive notice that the license was invalid. Some

  • Can't print single checks

    I am trying to print a single check using a HP D7500 printer from Quicken. I am confused by what I see in the printer dialog boxes. Also I don't know whether this is a mac or hp or quicken question. The check is 3.5X8.5 inches. I am feeding the narro