webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Why is it not indexed?

webMethods Community Member

webMethods Community MemberMon March 21, 2005 06:00 PM

  • 1.  Why is it not indexed?

    Posted Fri March 18, 2005 06:03 PM

    Below is my schema:

    <?xml version = "1.0" encoding = "UTF-8"?>

    <xs:schema elementFormDefault = “qualified” xmlns:tsd = “http://namespaces.softwareag.com/tamino/TaminoSchemaDefinition” xmlns:xs = “XML Schema”>
    xs:annotation
    xs:appinfo
    <tsd:schemaInfo name = “myschema”>
    <tsd:collection name = “indextesting2”></tsd:collection>
    <tsd:doctype name = “friday”>
    tsd:logical
    tsd:contentclosed</tsd:content>
    </tsd:logical>
    </tsd:doctype>
    </tsd:schemaInfo>
    </xs:appinfo>
    </xs:annotation>
    <xs:element name = “friday”>
    xs:complexType
    xs:sequence
    <xs:element ref = “description” maxOccurs = “unbounded”></xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name = “description”>
    xs:annotation
    xs:appinfo
    tsd:elementInfo
    tsd:physical
    tsd:native
    tsd:index
    tsd:text</tsd:text>
    </tsd:index>
    </tsd:native>
    </tsd:physical>
    </tsd:elementInfo>
    </xs:appinfo>
    </xs:annotation>
    xs:complexType
    xs:sequence
    <xs:any processContents = “skip”></xs:any>
    </xs:sequence>
    <xs:attribute name = “ID” type = “xs:string”>
    xs:annotation
    xs:appinfo
    tsd:attributeInfo
    tsd:physical
    tsd:native
    tsd:index
    tsd:standard</tsd:standard>
    </tsd:index>
    </tsd:native>
    </tsd:physical>
    </tsd:attributeInfo>
    </xs:appinfo>
    </xs:annotation>
    </xs:attribute>
    </xs:complexType>
    </xs:element>
    </xs:schema>

    My XML is as follows:

    <?xml version="1.0" encoding="ISO-8859-1"?> To be-bop or not to be-bop, there is no question The famous Gratiand.

    However when I executed the following command:

    {?explain?}for $a in input()//description[@ID=“2005”]
    return $a

    In the output, I could not find the XqcUnnestStdIdxScan element. I assum I did not index correctly. But what is wrong? Can someone please help?


    #API-Management
    #Tamino
    #webMethods


  • 2.  RE: Why is it not indexed?

    Posted Mon March 21, 2005 06:00 PM

    problem solved, never mind.


    #webMethods
    #Tamino
    #API-Management