Limits of the section indexing with alphabet path group, I have

Hello

I have created context of text oracle of indexing with the section of trail group and was trying to retrieve an element using the slot request, but he did not give me any output

Select / * + FIRST_ROWS * / rowid, abccolumn, xyz column, efgcolumn,.
table xyz
where contains (xyzcolumn, ' I INPATH (/ has: xyz / b:abc / c:efg / d: hij)', 1) > 0)

but with the same query instead of I have if I replace with O, I get the result.
I wanted to know the meaning of I, as I was to get all the other columns according to the search criteria.
There are only 2 items I or O in this node.
o I'm able to recover so wanted to know how I can recover with I

Your XML file is not valid - you did not declare namespace "cf" and "" at the end.

I corrected the "cf" to "ab" in the following unit test that works perfectly for the 'I' and 'o'.

Given the number of typos in that you have posted so far, I am sure that your problem is down to typo of 99.9%. If you can give me a complete testcase - as below - I'll look at him. I'm not going to spend more time on it with only partial information.

drop table abc;

create table abc(id number, pqr xmltype);

insert into abc values (1, '




12345678

I
2004-07-14

abc

abc


16:13:03Z



');

insert into abc values (2, '




12345678

O
2004-07-14

abc

abc


16:13:03Z



');

begin
ctx_ddl.drop_section_group('xyz_path_group');
end;
/
begin
ctx_ddl.drop_preference('xyz_word_PREF');
end;
/
begin
ctx_ddl.drop_preference('xyz_lexer_PREF1');
end;
/
begin
ctx_ddl.create_section_group('xyz_path_group','PATH_SECTION_GROUP');
end;
/
begin
ctx_ddl.create_preference('xyz_word_PREF','BASIC_WORDLIST');
ctx_ddl.set_attribute('xyz_word_PREF','SUBSTRING_INDEX','TRUE');
ctx_ddl.set_attribute('xyz_word_PREF','PREFIX_INDEX','YES');
end;
/

begin
ctx_ddl.create_preference('xyz_lexer_pref1','BASIC_LEXER');
ctx_ddl.set_attribute('xyz_word_PREF','WILDCARD_MAXTERMS','15000');
end;
/

create index xyz on abc(pqr) indextype is ctxsys.context parameters
('datastore ctxsys.direct_datastore wordlist xyz_word_PREF FILTER ctxsys.null_filter lexer xyz_lexer_pref1
sync(on commit)SECTION GROUP xyz_path_group MEMORY 500M stoplist ctxsys.empty_stoplist');

select id from abc where contains (pqr, 'O inpath (/ab:IncidentReportGroup/ab:IncidentReport/ext:DocumentDescriptiveMetadata/j:DocumentTypeText)') > 0;
select id from abc where contains (pqr, 'I inpath (/ab:IncidentReportGroup/ab:IncidentReport/ext:DocumentDescriptiveMetadata/j:DocumentTypeText)') > 0;

Published by: Rakotondravelo on May 20, 2009 13:49

Tags: Database

Similar Questions

  • Is there a option of zoon of the Web pages with Mozilla Firefox, if I have trouble reading the small print?

    I take a class any web business, and I can't find a lot of the functions that they speak.

    Hello
    Have you tried the Firefox zoom feature? This initiative will increase the size of the web pages.

    • To make things bigger, press Ctrl and + at the same time.
    • To make things smaller, press Ctrl and - at the same time.
    • Pour reinitialiser to reset the size of return to normal, press Ctrl and 0 at the same time.

    You can also use the NoSquint add-on to change the zoom level by default for all websites at the same time. After setting your overall zoom level, you can still adjust the zoom on different sites.

    With the help of NoSquint:

    1. After installation of NoSquint, make sure you have the add-on bar displayed:

      • Click the new tab button ("+") or a box empty bar tab to the right of the item and choose the module bar on the shortcut menu.
    2. Click on the % in the bar of the add-on call site preferences, then click the global settings button, then the zoom tab.
      • You can experiment with sizes greater than 125%, but it is not recommended that you will more than 150%, unless you have a large screen high resolution.

    If there are sites that are still a concern, feel free to post their URLs.

    Please let us know if this helped you!

    Thank you.

  • DW does not display the section < div > with CSS. Why?

    I thought go to DW to call my HTML/CSS pages (I always use MS Front Page), but when I loaded my page HTML < div > major section is not displayed in the design pane, even if it is displayed with the live on display.

    Here is the HTML code for the block that is missing:

    function() {return A.apply (null, [this] .concat ($A (arguments)))}

    < div id = "text_body" >
    Description of < h1 > < / h1 >
    Blah-blah-blah

    < / div >

    and the CSS file:

    function() {return A.apply (null, [this] .concat ($A (arguments)))}

    #text_body
    {
    position: absolute;
    margin-top:-10px;
    padding: 20px;
    Width: auto;
    }

    Remove the position: absolute; Since the below css selector.

    #text_body
    {
    position: absolute;
    margin-top:-10px;
    padding: 20px;
    Width: auto;
    }

    Close the text_body (see below)

    We will continue to take stock of this question by the Safety Advisory
    section of the Adobe, but also the Adobe PSIRT blog website.

    More


    Here's more information.
       

    Something might just happen. Then go and take some time to learn more about css.

  • Can the files marked with colors, flag, grouped

    DreamWeaver CS6

    The root folder becomes bigger and bigger with *.html and *.php files. and sometimes I lose ccontrol of which files go hand in hand.

    In Photoshop, you can give layers unique colors, place in a group.  Other programs can files marked with flags of different colors, What are the possibilities of Dreamweaver?

    To know which files belong together I would like to stay , mark them, as they delay of other files.

    When I need to edit some files unique, I can quickly see what files go hand in hand.

    I cannot use of subfolders and file names I can not change because he downloaded models

    Photoshop is nothing like Dreamweaver.  If not, there is no way to group files other than putting them in the well named subfolders.   A typical web site might look like this:

    SiteName (C:\SiteName)

    index.php

    about.php

    contact.php

    Includes

    Header.php

    footer.php

    menu.php

    Images

    Image1.jpg

    Image2.jpg

    Styles

    Layout.CSS

    Typography.CSS

    Print.CSS

    Scripts

    contact_script.php

    slideshow.js

    Templates

    layout1 - col.dwt

    Layout2 - col.dwt

    layout4 - col.dwt

    Nancy O.

  • Unable to get the database searched with MAX and GROUP BY function

    Hello
    All the

    I have a table as below:
    COLUMN TYPE
    User_id VARCHAR2 (10 byte)
    ID_processus VARCHAR2 (30 bytes)
    END_TIME DATE (STAMP)
    TO_LOC VARCHAR2 (12 bytes)
    TO_LOC_TYPE VARCHAR2 (15 bytes)
    FROM_LOC VARCHAR2 (12 bytes)
    ITEM_ID VARCHAR2 (25 bytes)
    CASE NUMBER (12.4)
    LMS_UDA1 VARCHAR2 (250 bytes)
    AREA VARCHAR2 (2 bytes)

    I only want to get one record with all the columns, have only one clause MAX (END_TIME)
    But the other column value of the difference.
    When I use MAX (END_TIME) and GROUP OF USER_ID, ID_processus, CASE...
    the sql did not a single record,
    It gives the number of records

    Please help me on this

    Concerning

    Saven

    >
    I only want to get one record with all the columns, have only one clause MAX (END_TIME)
    But the other column value of the difference.
    >
    Maybe it's not possible because it depends on your data.

    If the combination of all columns except END_TIME is not unique then there will be multiple records; a record for each unique combination (GROUP BY) of all other columns.

    The only way to ensure that a record is

    SELECT MAX(END_TIME) FROM myTable
    
  • How do you create subfolders in the section manage?

    Morning,

    I want to create subfolders in the section dealing with some of our clients. I then try to download some documents on these issues.

    Is this possible?

    Concerning

    Stuart

    Hi Stuart,

    From now on, we don't have a feature to create subfolders. But, I probably took this as a feedback to pass.

    Kind regards

    -Usman

  • stacking of several html5 as "div backgrounds" videos sent behind in Z-index with content before

    The best example I can give you is www.greygoose.com.

    The same way they have their articles on their stacked homepage, pictures sent on the z index with content in the face, I want to achieve the same with html5 video instead of a fixed image several 'objects '. I know how to include html5 videos and could easily stack on top of each other, but his envoys back and writes the content before and now have coordinated regardless of the width of the window (width = 100%) or zoom in the browser of the user (if its more or less than 100%). An example of 4 would be perfect and even better if it could include the "floating" footer navigation (which of course has a fixed = position; bottom = 0 and left = 0 of a positive Z-index), but I'm also interested him growing as it does when it reaches the bottom of the page.

    Thanks for the ideas, pointers, helps and of course answers

    Here you will see a number of tutorials that can help you http://devfloat.net/jquery-parallax-scrolling-tutorials/

    Another example brought pure CSS Parallax demo by Keith Clark with the tutorial here Pure CSS Parallax websites by Keith Clark

    Otherwise, Google the topic.

  • loops through the sections XML &lt; RecieptDetails &gt; and for each record found...

    My input XML file is...
    I get this XML using file adapter...

    <? XML version = "1.0" encoding = "UTF-8"? >
    -< root xmlns:ns2 = "http://www.w3.org/2001/XMLSchema" >
    -< ns2:ReceiptBatch >
    < ns2:FileID > "99999" < / ns2:FileID >
    < ns2:Warehouse > in THE < / ns2:Warehouse >
    'L' < ns2:Revision > < / ns2:Revision >
    < ns2:DocID > A4 < / ns2:DocID >
    -< ns2:Receipt >
    < ns2:DeliveryNo > 123 - OP < / ns2:DeliveryNo >
    < ns2:ProcessDate > 112138 < / ns2:ProcessDate >
    < ns2:ContainerNo > 98765 < / ns2:ContainerNo >
    < ns2:Instructions > TREKAU < / ns2:Instructions >
    < ns2:ReceiptType > 1 < / ns2:ReceiptType >
    < ns2:SuppCustCode > 111 < / ns2:SuppCustCode >
    TREK-Cycle < ns2:SuppCustName > < / ns2:SuppCustName >
    -< ns2:ReceiptDetails >
    < ns2:Line > 1 < / ns2:Line >
    < ns2:ProductCode > 1000 < / ns2:ProductCode >
    < ns2:QuantityAdvised > 1 < / ns2:QuantityAdvised >
    < ns2:QuantityReceived > 1 < / ns2:QuantityReceived >
    < / ns2:ReceiptDetails >
    -< ns2:ReceiptDetails >
    < ns2:Line > 2 < / ns2:Line >
    < ns2:ProductCode > 2000 < / ns2:ProductCode >
    < ns2:QuantityAdvised > 2 < / ns2:QuantityAdvised >
    < ns2:QuantityReceived > 2 < / ns2:QuantityReceived >
    < / ns2:ReceiptDetails >
    -< ns2:ReceiptDetails >
    < ns2:Line > 3 < / ns2:Line >
    < ns2:ProductCode > 2000 < / ns2:ProductCode >
    < ns2:QuantityAdvised > 3 < / ns2:QuantityAdvised >
    < ns2:QuantityReceived > 3 < / ns2:QuantityReceived >
    < / ns2:ReceiptDetails >
    < / ns2:Receipt >
    < / ns2:ReceiptBatch >
    < / root >

    There are 2 tables in the database.
    Table 1 = T1743512
    Table 2 = T2743002

    table - structure

    T1743512-

    DOCO KCOO DTCO LNID LNIX LITM NOTICE USR JOBN UPMJ PID'M CKNU UREC
    123 00026 1 1 1000 1 1 123 - OP OP
    124 00026 1 1 1000 1 1 124 - OP OP
    123 00026 2 2 1000 2 2 123 - OP OP
    123 00026 3 3 1000 3 2 123 - OP OP



    Things to do are:--

    1. Research Notice T1743512 (table) with the following keys:
    1.T1743512. CKNU = < DeliveryNo > XML
    2.T1743512. LNIX = XML < row >
    II. write a record in the T2743002 table for each < RecieptDetails >. (See map below)

    Mapping of the records in the table T2743002 to < ReceiptDetails >

    EDU - "SABSSV".
    EDBT - < EDBT > (the same for all records)
    EDTN - < DeliveryNo > (from the section < reception > XML)
    EDLN - < row > (from < ReceiptDetails > section in XML format)
    EDSP - white
    DOCO - white
    DCTO - white
    KCOO - white
    LNID - white
    LITM - < ProductCode > < ReceiptDetails > section
    UORG - < QuantityAdvised > < ReceiptDetails > section
    UREC - < QuantityReceived > < ReceiptDetails > section
    USER - "SABSSV".
    JOBN - "SOA - 3PL".
    PID - 'PO-ENTRANTS ".
    UPMJ - current Date Julian
    - Hour current HHMMSS



    Please suggest the solution.

    Published by: Prashant_AP on June 22, 2012 12:24 AM

    Hello

    Solution by using a loop in BPEL;
    1 count the number of nodes for ReceiptDetails.
    2 create a counter for loop through each node ReceiptDetails. Use a while loop in BPEL
    3 search T1743512 (table) with DeliveryNo and the line. Make sure that you select the correct line from the ReceiptDetails node element node. This can be done using the counter example of xpatch ns2:ReceiptBatch / ns2:Receipt / ns2:ReceiptDetails [counter] / ns2:Line. Please use the DB adapter.
    I guess that the DeliveryNo can only appear once in the document following your example.
    4. for each receiptDetails you write a record in table too T2743002. Please use the DB adapter.
    5. Since the time increment the counter. This is to ensure that the while loop stops at the point where the counter is greater then the number of nodes to ReceiptDetails.

    I think a better solution is to make the loop in PL/SQL. It will be faster. You specify an input of type of collection in your pl/sql package parameter. Assign all items receiptDetails and DeliverNo line to the PL/SQL package. Within PL/SQL unravel you the closure. With a little luck, you have the T2743002 in the same schema to create the record too. Otherwise create synonyms of the database or database links.

    Good luck

    Thank you

    Sander

  • Profile security framework with in a group of companies

    Hello

    With in a group, I have used in several countries. There are fears now that I need to have two different responsibilities through which I can limit the employee according to the countries.

    The things that are used to identify between countries are. 1. they have different WISHES. 2. they have different operating units. I tried to create a security profile, he has the Organization secured an option by operating units, but I my not be able to see that work? Where exactly you must declare the control unit do I need to get to? Can someone suggest me a good job around.

    The version we use is 11.5.10

    Thank you

    If the security profile is "static", then you must run the simultaneous process 'list of security management. It will identify all records that match the rule of safety profile and then allow the user to see who saves when using their responsibility "secure."

    Concerning

    Tim

  • Index of text with the section group

    I'm using oracle 11.2.0.3.    I now of tables:

    org (org_pk, nom_org)

    indvl (indvl_pk, indvl_name)

    indvl_pk and org_x_indvl table.have org_pk

    We seek on the base 1. nom_org 2. indvl_name 3. the nom_org and indvl_name.

    Can I create a context index with nom_org and indvl_name as an article and use it to search for above 3 conditions?

    spur230 wrote:

    I'm using oracle 11.2.0.3.    I now of tables:

    org (org_pk, nom_org)

    indvl (indvl_pk, indvl_name)

    indvl_pk and org_x_indvl table.have org_pk

    We seek on the base 1. nom_org 2. indvl_name 3. the nom_org and indvl_name.

    Can I create a context index with nom_org and indvl_name as an article and use it to search for above 3 conditions?

    Yes, you can create a procedure that concatenates the values with labels and a user_datastore that uses this procedure, create a group of sections with sections, and then use the Group user_datastore and the article as parameters in your create index.  You can then two columns of search or use WITHIN for each column of research itself.  There are many examples on this forum and the online documentation.

  • How to change section order with based on the path of sidecar.xml

    I see that the < entry > tag controls where an article appears in the folio:

    "The order of the < entry > sections determines the order of the items in your folio when you create your folio or when you update it."

    But does that mean that I must move the entire section of an article to another location in the code, or enter a number somewhere?


    Thank you

    Beth

    You must move the section of the article in its entirety in the XML document to the location where you want in the order of folio.

    Neil

  • End action to open the file with relative path

    Happy 4th of July!

    I work with Captivate 3 and try to open an HTML file at the end of a very short Captivate inro. The material goes on a CD.

    Everything works fine when I run it locally, but when I put it on a CD, concludes the flash part, there is an error message saying that the browser cannot find a file in the absolute path on my computer of composition.

    Now, I'm sure that people create these things just to watch it on their own computers. The point is to distribute them. I tried all the options in the preferences/Start and end screen and am only accumulate charge useless error CD. Beyond belief, the help of the program is useless. All it says are the options, you can see on the interface, it does not say what they mean.

    Again, all I want to do is to open a file that is the parent for SWF and HTML of Captivate files directory. The error message correctly identifies the absolute location, but how do you get this to point to a relative location? The file in the parent directory structure looks like the following:
    index.htm
    (folder) files of captivate
    ++ Captivate.htm
    ++ Captivate.swf
    ++ other captivate files

    I tell Captivate to open index.htm in the parent directory. No dice:
    Firefox can't find the file at C:/_Data/Captivate/index.htm.

    It's because I'm using another computer, as would all my viewers. Any help?

    Thanks Rick!
    You are an invaluable resource, thank you very much. I tried to type in the name of the file instead of select with the navigation tool and it worked very well. Why the tool go would bring a different result is a mystery to me. But it's working now, so all is well in demoland once more.

    Once again, thank you all for your generous help.

    Karl

  • My website looks fine in other browsers, but on firefox it arrives as an index with the title first and on the second line it says go to the content. This can be corrected?

    When I look at my site it loads as an index with the heading on the top line and then a link saying "go to content" and then corresponds to the navigation in the chips. I downloaded the latest version of firefox and this did not improve the situation. The site looks very well in other browsers.

    Make sure that you do not block the CSS files on this page.

    Reload Web pages, and ignore the cache.

    • Hold SHIFT and click reload.
    • Press 'Ctrl + F5' or 'Ctrl + Shift + R' (Windows, Linux)
    • Press 'Cmd + Shift + R' (MAC)

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions of the origin of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

  • In the Finder, how can I search/list of the files in the folder of final characters in filenames, i.e. 'to end-with' alphabetical rather than by default "starting by" alphabetical?

    In the Finder, how can I search/list of the files in the folder of final characters in filenames, i.e. 'to end-with' alphabetical rather than by default "starting by" alphabetical?

    As far as I know, you can't.

  • nilibddc dll: opening files tdms with the corrupt index files

    Hello

    I have a question about the error handling when using the nilibddc.dll.

    I want to use nilibddc.dll to open the .tdms file. At the time I experimented with some error cases and got stuck in a case:

    When I try to open a file with a corrupted file .tdms_index .tdms I get code error-6211 (DDC_StorageCouldNotBeOpened).

    The file .tdms_index is corrupted due to errors during the copy of the file.

    The problem I've noticed is that I have a lock on the corrupted file .tdms_index file after DDC_OpenFile (...) (I can rename it, but I can't delete the file!).

    As you can see in the code snippet - it is not really special...

    int ddcError = 0, length;
    DDCFileHandle file = 0;

    ddcError = DDC_OpenFile (file_path, NULL, &file);)

    Here, I get ddcError is-6211
    If (ddcError == 0)
    {
    do something with the file...

    ddcError = DDC_CloseFile (leader);

    If (ddcError == 0)
    {
    < "no="" error="" -="" everything="" done"=""><>
    }
    }

    System ("pause");

    I miss something here? Should I use DDC_FreeMemory in somehow to free open handles?

    I also tried to use the DDC_OpenFileEx (...) with readOnly set to true. But that doesn't change anything!

    Thanks in advance for the help,

    Daniel

    You are right. The sample file you attached to your message causes an access violation. If no normal flow program and apllication in undefined state.

    I will direct the file to developers. I tried to generate a file that causes the same by beating some index files, but has failed to create one on my own. It happened to your site more than once?

    What can we do?

    In the first place, simply copy the PDM. The index file will be recreated when the file is accessed. What is lost when the index file is not copied, therefore the time required to create the index file by scanning once the PDM file.

    I hope this helps a little

    Andreas

Maybe you are looking for

  • Excel does not recognize this file format

    I've been using excel (Office: mac 2011) for some time. All of a sudden excel opens. I'm getting different error messages such as: "Excel does not recognize this file format" and "There is a problem with the database of the Office". I use OS X EL Cap

  • FCPX El Capitan new Mac Pro SLOW

    I just add a new computer to our edit arsenal. It's a Mac Pro 2.7ghz - 12 CORE - 30 MB L3 cache - with 64 GB of DDR3 - 1 TB of Flash storage memory - Dual AMD over-pants D700 6 GB VRAM - essentially the full load Mac Pro.  10.2.2 FCPX running Why my

  • Printer Spooler problem - I do not know what it is? I want to just print

    I tried to print, and the comment is "printer spooler does not.  How can I make it work

  • BlackBerry Z10 Z10 camera does not

    The camera on my Z10 has stopped working.  I hear the shutter, and then a black screen, image not recorded - it allows me to leave the app normally the black screen.  Everything that someone might know this subject other than a hardware failure?

  • AIP-20 Vs 4255 - recommended Solution?

    Hello experts, We have the ASA 5510 (Active/stdby) pair to the perimeter. To implement the IPS solution, ask yourself if 4255 is recommended or AIP-SSM in ASA5510 20 modules would be our best bet. Internet future high-growth 200Meg (100Meg double pip