Word Stem Search Using INPATH(//element/@attribute) Broken?

I am attempting to use word stemming while searching within an attribute of an XML tag, but Oracle returns no results. If I turn off word stemming it works just fine.
An example that does not work:
select id from table where CONTAINS(xmldoc, '$road INPATH(//element/@attribute)') > 0;
An example that does work:
select id from table where CONTAINS(xmldoc, 'road INPATH(//element/@attribute)') > 0;
I haven't seen anything in the documentation that would suggest that word stemming wouldn't work, nor would I know where to find out if this is an official bug.
Any help would be appreciated.
Thanks,
Leonard

Stemming with INPATH is supported. If you think that you may
found a bug, please contact Oracle support with a reproducible
test case.

Similar Messages

  • Problems searching with INPATH

    hi,
    i want to search in a table by INPATH where i saved my xml files as blobs.
    searching with the contains query operator works fine, but the problem is, that i don't get any results if i try to search using INPATH in the contains query.
    do i need special privileges for searching with INPATH, HASPATH and WITHIN?
    is there a problem by saving xml files in a BLOB instead of a CBLOB or a XMLType?
    here what i did:
    i created the following table and inserted some xml files using java and the oracle-jdbc-driver:
    create table xmldocs (docid number not null, title varchar2 (30), format varchar2(10), docblob blob);
    i create my context index:
    create index xmldocs_idx on xmldocs(docblob) indextype is ctxsys.context parameters
    ('datastore ctxsys.default_datastore filter ctxsys.null_filter section group ctxsys.path_section_group');
    here an example of a xml file (with the docid=4) that i inserted:
    <A><B><C>dog</C></B></A>
    by searching for "dog" i receive a result:
    select docid from xmldocs where contains(docblob, 'dog')>0;
    DOCID
    4
    but if i search with INPATH i receive nothing:
    select docid from xmldocs where contains(docblob, 'HASPATH(/A)')>0;
    any ideas???

    nevertheless, i know the difference between INPATH and HASPATH, that is not my problem.
    so if i execute the statement:
    select docid from xmldocs where contains(docblob,'dog INPATH (/A)')>0;
    or
    select docid from xmldocs where contains(docblob,'HASPATH (//A = "dog")')>0;
    i receive "no rows selected", and that's my problem.
    it seems that the index that should be used for searching with INPATH or HASPATH is not correct or not available. if i compare the token_texts of the index that generated by create index and the parameter ctxsys.path_section_group to an index generated without any parameters it's the same. should it be like this? is that regular?
    i checked the indexes with:
    select token_text from dr$xmldocs2_idx$i;
    if i check the available indexes with:
    select index_name, index_type, ityp_owner, ityp_name, domidx_opstatus
    from user_indexes
    where ityp_owner = 'CTXSYS';
    i receive:
    INDEX_NAME INDEX_TYPE ITYP_OWNER ITYP_NAME DOMIDX
    XMLDOCS_IDX DOMAIN CTXSYS CONTEXT VALID
    do i need any other database privileges than to ctxapp?
    thanks a lot if somebody can help me!!!
    randy

  • Search for own settypes / attributes of iObject

    Hello,
    i created some Z-Settypes with own Z-Attributes for individual objects in CRM.
    I also created the assignmentblocks for this Z-Settypes. Now i´m able to maintain the Z-Attributes in Webclient UI.
    My next step would be to search for individual objects (view PRDIOQR/SEARCH) using my Z-Attributes.
    Does anybody know what i need to do?
    The view is already enhanced.
    I found in GENIL_BOL_BROWSER own notes with my settypes.
    No i need to know how to bring this on the search view to search with my Z-Attributes for i objects?
    Thank you
    Best regards
    Manfred

    Hi Anne,
    Have a look of the <a href="http://service.sap.com/~form/sapnet?_SHORTKEY=01100035870000647973&_SCENARIO">CIC cookbook</a>. This might help.
    <b>Reward points if it helps!!</b>
    Best regards,
    Vikash.

  • How do I use domain guessing for single word but search for multiple?

    I would like to configure the search bar to make smart decisions about weather it should fill in an address or search for results. At the very least I would like it to be able to search when multiple words are entered but fill in the address when it's only one word (eg: typing "zelda" would take me to www.zelda.com but "the legend of zelda" would use search)

    The answer that you are probably looking for is what Google calls the '''I'm Feeling Lucky''' Search. Not quite what you describe but if there is one result that stands out as the most common result, you will get taken directly to the page. (Wouldn't work for me, I seldom find what I looking for in the first five hits.)
    This will involve a change to your '''about:config''' configuration variables.
    '''keyword.URL ''' default string
    http://www.google.com/search?ie=UTF-8&oe=UTF-8&sourceid=navclient&gfns=1&q=
    The '''&gfns=1''' is what gets you the I'm Feeling lucky search.
    References:
    * http://dmcritchie.mvps.org/firefox/search.htm
    * [http://kb.mozillazine.org/About:config About:config - MozillaZine Knowledge Base]
    * [http://kb.mozillazine.org/About:config_entries About:config entries - MozillaZine Knowledge Base]
    <hr>Personally I prevent all (external) searching from the location bar to prevent errors from being redirected to a substitute page (along with additional filtering via the '''Adblock Plus''' extension).
    For '''zelda''', I would type in the word and then use '''Ctrl+Enter''' so that it becomes www.zelda.com (with "Ctrl+Shift+Enter" gets .org, and with "Shift+Enter" gets .net).
    For more information on '''keyboard shortcuts''' and the fact that those two shortcuts above can be [http://www.mvps.org/dmcritchie/firefox/keyboard.htm#newtab switched] see
    * Firefox and other Browser Keyboard Shortcuts (Comparison Table)<br>http://www.mvps.org/dmcritchie/firefox/keyboard.htm
    The '''AwesomeBar''' search is what you get in the location bar drop-down when you enter strings of characters that exist in the Title and/or url address of a previously visited site or one that you have in your bookmarks. You see those choices '''before''' you press "Enter".
    Once you press "Enter" by default you would do a search with your currently selected (default) search engine, as if you had entered the search into the search bar.
    I don't like the last method and would use a ''keyword shortcut'' to use a customized search or to go directly to a web page. But without knowledge of what is available using the Location bar to run an external search works okay for most people.
    <hr>
    The "weather" threw me because for weather you really do want a keyword shortcut, the word you meant was whether.
    More information on [http://dmcritchie.mvps.org/firefox/kws.htm keyword shortcuts].
    * http://dmcritchie.mvps.org/firefox/kws.htm

  • How to get cm:search to use the max attribute when creating the SQL query?

    When we use the max attribute in the cm:search tag, it does not seem to honor the max attribute when creating the SQL query. However, the result returned from the tag is limited to the number specified by the max attribute. Then the tag seems to work as intended, but the performance will be sub optimal when the SQL query returns unnecessary rows to the application.
    We use the cm:search tag to list the latest news (ordered by date), and with the current implementation we have to expect a decrease in performance over time as more news is published. But we can’t live with that. We need to do the constraint in the SQL query, not in the application.
    The sortBy attribute of cm:search is translated to “order by” in the SQL query, as expected.
    Is it possible to get cm:search to generate the SQL query with an addition of “where rownum <= maxRows”?

    Hi Erik,
    The behavior of a repository in regards to the search tag's max results parameter is dependent on the underlying repository's implementation. That said, the OOTB repository in WLP does augment the generated SQL to limit the number of rows returned from the database. This is done in the parsing logic. This behavior may differ with other repository implementations.
    -Ryan

  • How do you perform partial word search using PDF Open Parameters?

    Hello,
    We are using the 'search=' open parameter in the URL string, which open a PDF and automatically searches for a word within the PDF.  It works great for whole word searches. Unfortunately, it does not work for partial word, or phrases. In other words, if I'm searching on '123456' and there is a word in the document that is '1234567', it will not find the partial word, or first 6 characters of the 7 character word. You can perform a partial or phrased search using the advance search feature of Adobe Reader.  So, currently after the PDF opens, and shows no hits on the automatic search for '123456', we are able to manually search again for a partial word search, and then see matches in the document.  Is there any way to specify to use a whole or partial word search when using the 'search=' open parameter, so that we can automatically match on partial and whole words?  Something like 'search=123456*'?

    It never worked that way. Command-F shows the page search bar.

  • The name attribute on the img element is obsolete. Use the id attribute instead.

    When I valadate my page I get an error "The name attribute on the img element is obsolete. Use the id attribute instead." In DW CS5.5 I cannot seem to enter an ID without DW also adding the ID as a name attribute too. Aside from manually going in and removing the name attribute from the code.

    It won't hurt to leave the name attribute in your <img> tag.  In fact, it may be necessary if you are going to add an image rollover behavior, since DW's javascript relies on that name attribute's value to correctly identify the desired image on the page.

  • Using element attributes to show changes

    Hi,
    I'm working in a structured environment in FM7.2, and the job requires that we save out to SGML. I've been asked to show changes to my documents using a visual element but not change bars (they're already being used) - confused? I hope I can explain it clearly.
    We're creating parts lists, so basically we're working with pages of tables. We have the data from the OEM of the parts lists in hard copy. We have to reproduce that list for our client. The hard copy from the OEM shows their changes to the parts list on the left side of the table - we need to keep those marks but we also need to indicate changes to the list where our client has changed parts and we need to show those changes on the right side of the table with change bars. What I'm thinking is if I could use element attribute data to show the OEM (left side) changes and then that allows me to use the change bars for the client (right side) changes. The element for the item/part already has an attribute called 'change'. I recall reading somewhere that attributes can be used like this but I can't recall where I read it. If all that makes sense and it can be done, my question is how to implement it?
    Any thoughts on this appreciated.
    Carl

    The latest documents I copuld find describing the workings of EDD etc. are those two:
    FrameMaker 8.0 Structure Application Developer's Guide
    FrameMaker 8.0 Structure Application Developer  Reference
    It seems they are not linked from any page, at least Google was not able to find them. The former version (FM7.1) of those documents as a single document can be found here:
    http://www.adobe.com/devnet/framemaker/onlinemanuals.html (Structure Application Developer Guide)
    Since the way the EDD works has not changed very much, you may take any of those, to learn about context rules etc.
    Scriptorium Publishing has some workbooks available:
    http://www.scriptorium.com/books/framemaker-workbooks
    The content of those is partly available in a Wiki at http://wiki.scriptorium.com/
    HTH,
    - Michael
    PS: You did not share the FrameMaker version you are working with.

  • Element attributes using XSQL

    I have been reading the documentation for the XSQL servlet in the hopes of using it to get XML data out of a relational database.
    Whilst it seems straight forward to get the column entries into their own elements I have not seen how to get them into an element attribute instead of their own element (other than the id attribute which you can only use once per row).
    Is this correct or is there a way to get column values into element attribute values instead of element values?
    Any help appreciated.
    Ron Quartel

    If you're using XSQL, the best solution
    is to use XSL stylesheets.
    You could write XSL file to include
    DTD/Schema in your output xml file.
    Basic XSL sample is used in the XSQL demo.
    There is short discussion in the readme.html
    file. If you're only moving elements to
    attributes, they probably would be enough.

  • When I right click on a highlighted word I am prompted to search with AVG. I would prefer to search using an alternative search engine. How do I change this?

    When I right click on a highlighted word I am prompted to search with AVG. I would prefer to search using an alternative search engine. How do I change this?

    Reply: Cor-el > Excellent!! Thank You. In Tools, Add Ons, Extensions there was a Default Tab enntry which was the culprit. Am running W7 so the XP Tools, Options, Advanced , Use Hardware acceleration when available, wasn't of much help here, however I did fix a problem on another computer running XP with that same fix. Thank You very much! HD

  • Using apex_item with element attributes

    I am trying to create a manual tabular form. I used the SQL below:
    select
    apex_item.text(3,code,6) "CODE
    apex_item.text(4,city_name) "CITY_NAME",
    apex_item.text(5,state_code,2) "STATE_CODE"
    I set all my columns to 'Standard Report column'. I need to add some element attributes like:
    onFocus="javascript:this.maxLength=6;" onBlur="javascript:{this.value = this.value.toUpperCase(); }" onChange="this.style.backgroundColor = 'yellow';"
    It seems to ignore this when the form is built as looking at the source doesn't have this code in with the element. How can I add these attributes to the element?

    Go to my blog
    http://www.deneskubicek.blogspot.com/
    and have a look at the
    Cascading Select List in a Tabular Form or
    Manual Tabular Form
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • How to do exact word search using Java API

    Hi,
    Can someone tell me how can I write a search query using Ultra Search Java API to return data containing a full word that is sent as a search
    parameter. e.g. If I want to search for a word 'Dictionary' I need to get all the results conatining full word Dictionary for example if I
    have following 4 records
    1. Dictionary
    2. English Dictionary
    3. French Dictionary
    4. AllDictionary
    How can I write a query that returns me first 3 records only as they contain the word 'Dictionary' and not the fourth record as it's not a word.
    Here is what I need to get back and ordered in that way as the 'Dictionary' needs to be first record because the search is on Dictionary.
    1. Dictionary
    2. English Dictionary
    3. French Dictionary
    Any help is appreciated.
    Thanks

    Looks like we can not do an exact word search using Java API.

  • Column value substitution in tabular form element attributes

    We started to discuss this at Re: Tabular form with Ajax
    I also mentioned this at Re: how to make only some rows editable in html db.
    but thought that this deserves its own thread.
    In Doug's sample Sudoku application in that thread, he uses #COLUMN# substitution in the Form Element Attributes and it works fine, but in my example page at http://htmldb.oracle.com/pls/otn/f?p=24317:219 I used the same technique and no matter what I do, the #COLUMN# substitution is not expanded by the Apex engine.
    This is driving me nuts, any ideas why it works in one application but not in another?
    Thanks

    Hm, you might be right.
    I copied your row template and modified it at http://htmldb.oracle.com/pls/otn/f?p=24317:219
    The styling looks terrible, not sure why, the template is simply
    <tr>
    <td class="t10data">#EMPNO_DISPLAY#</td>
    <td class="t10data">#ENAME#</td>
    <td class="t10data">#JOB#</td>
    <td class="t10data">#MGR#</td>
    <td class="t10data">#HIREDATE#</td>
    <td class="t10data">#SAL#</td>
    <td class="t10data">#COMM#</td>
    <td class="t10data">#DEPTNO#</td>
    </tr>I had a lot of trouble getting this to work because the wizard generated tabular form appends 2 hidden fields containing the PK and the row-checksum to the last (editable?) field on each row. If the last editable field has #COL# substitution, it expands the substitution and forgets to close the INPUT tag thus causing malformed HTML (I think this is a bug in the rendering engine).
    The readonly condition is sal>1000 which now works. The SAL>1000 fields are now readonly.
    But now the update process is broken. If I enter a number in the first blank SAL field (empno=3641) and click Submit, I get no errors but the change is not saved. Wonder why.
    Hopefully, Scott (Spadafore) will take mercy on our amateurish experiments and give us some definitive answers soon!
    Thanks.

  • Element attributes linked to context elements

    Is there a way to find out what interface element attributes are linked to specific context elements (without searching the entire layout)?

    Hi Bob,
    There is no direct way to identify the field associated to a UI element. SAP has porvided some protected methods to get this details for internal purpouse but not for external use.
    the only way is to drill down through the context path of the root container.
    Regards
    Sravan Varagani

  • Using FormattedView Element

    Hello Everyone,
    I admit that I am rather new to Abap Web Dynpro and I have a question.  I am trying to use the FormattedView element to display a table of text (a few paragraphs actually) and I cannot seem to get this to work.  I can get the first line on the screen, but not the entire table.  I have searched this forum and tried a few things, but can't seem to get it to work and I am hoping that someone can help.
    I have a Node called 'Detail' and an Attribute called 'Line'  The Attribute 'Line' has a context as Type BAPIDESC-LINE.  The Cardinality of the Node 'Detail' is 0-N.
    Below is my latest version of the code that I have. 
      DATA node_detail TYPE REF TO if_wd_context_node.
      DATA elem_detail TYPE REF TO if_wd_context_element.
      DATA stru_detail TYPE wd_this->element_detail.
      DATA it_detail TYPE TABLE OF wd_this->element_detail.
      node_detail = wd_context->get_child_node( name =
      wd_this->wdctx_detail ).
      MOVE 'this is a test' TO stru_detail.
      APPEND stru_detail TO it_detail.
      MOVE 'this is a test of a second line' TO stru_detail.
      APPEND stru_detail TO it_detail.
      node_detail->bind_table( new_items = it_detail
                               set_initial_elements = abap_true ).
    I have also tried the set_attribute method but could not get it to work either.  Can anyone offer any advice?
    Best Regards,
    Scott

    Thank you for the feedback. 
    I have actually looked at WDR_TEST_MISC in the past and the problem that I have with this is that the format of the text (spacing, indentions, etc) is not kept.  The method is using the Set Attribute method to display text. 
    wd_context->set_attribute( name = 'TEXT' value = text ).
    The issue that I am running into with this example is that Text is of type string (not a table).  Does anyone know of a way (or an example that I maybe overlooking) where text is displayed on the screen and the format is kept in place?
    Best Regards,
    Scott

Maybe you are looking for

  • Iphoto keeps quitting on me when I'm importing pics from my iphone 5?

    iphoto keeps quitting on me when I'm importing pics from my iphone 5?

  • Can I replace an Object in Flash MX?

    I am using Flash MX 2004. 1) How would I "replace" an animated object. For e.g. I imported a .jpg into Flash, then I made it into a symbol graphic and animated it. Now the artwork has changed and I need to replace it. Do I have to animate the new ima

  • PKCS#11 library issue on Java 5

    Hi, I'm facing problem with PKCS#11 library name using SunPKCS11 in Java 5. My sample program runs successfully either providing only PKCS#11 library name or providing library name with absolute path in Java6. My sample code is given below: String st

  • Deadlock with CREATE GLOBAL TEMPORARY TABLE

    I got this error ORA-00604: error occurred at recursive SQL level 1 ORA-00060: deadlock detected while waiting for resource while trying to create global temporary table. Table creation command: CREATE GLOBAL TEMPORARY TABLE ITUSER.T_0091FBDG ("GOD"

  • T-Code.. MCTE Sales report

    Hello All, Can anyone give me the details about the MCTE report. There are three output fileds INCOMING ORDERS, Total Order Qty and SALES. How the incoming orders calculated and how the Total Order Qty coming, and how the Sales figures calculated in