Parametric/Category Search Summary

Hi,
I'm looking at replacing a bit of search functionality in an application with Oracle Text.
One of the things that we want to do is, as well as displaying the pages of search results, is display a summary of the sub-categories of the search results.
Not sure if I'm explaining my self very well.
But, for example, lets say a search query returns 200 results then we would be displaying these results as well as displaying how the results breakdown by author and by date or by subject. So, this summary might say that the 200 results are broken down under author as "author A (10) , author B(50), .... etc" and subject might be "news (150), sport (50)" etc.
Obviously a large part of this is application design, but are there any Oracle Text features (up to latest 10gR2) that lend themselves to this?
Or is it a case of materialising the whole result set and then summing the various categories that we want to sum (author, subject, date range, etc)?
There is a presentation here, http://www.oracle.com/technology/products/text/index.html, where on page 13 they have a breakdown of results by category. Is there a special feature that can help with this at all?

OK I found it (you're lucky I have NetBeans available right away!).
As far as the logic of the component goes, you can put two widgets nested in a JPanel, BorderLayout: one JComboBox WEST, and one JTextField, CENTER. I leave you search about the auto-completion (or auto-search) on the JTextField, widely discussed on Java forums.
But I guess I see what appeals you in the, e.g. NetBeans search box rendering, is that it gives the appearance that the drop-down box is actually part of the text field, as there is nor border between the text field and the drop-down box (except a small vertical separator that foes not span the whole height).
It may not be easy to render that, one simple hack could be to override the JTextField.paint() method and clip the Graphics object to a smaller rectangle (that doesn't include the left-hand border of the textfield), then call super.paint() with the clipped Graphics. Same thing goes for the right-hand side of the JComboBox. Easier still, clip both Graphics so that no border appears, and let the containing JPanel have a LineBorder (but it might not look exactly like a JTextFiled border).
Of course you have to set the same background color to the JTF and JCBox, if it's not the case out of the box.

Similar Messages

  • Adding a new button in the PO search summary in SRM 3

    Hello gurus,
    my requirement is to add a new button in the search summary for PO in SRM. Here's the task: every time a search is executed, the result is a list of purchase orders and every item has on the left two icons, "Show PO" and "Modify PO". There are merely a shortcut that brings the user to the PO screen in which the document is shown/can be modified.
    These two buttons are standard... my task is to add a new button in the template, "Copy PO", which should be a shortcut to the omonimous button which is present in the PO view screen. So I think this new button should work as the two standard ones.
    In order to do so, I looked into the proper template: SAPLBBP_PDH_SEARCH, screen 3003, which belongs to the package BBP_PRODOC_C (ITS service BBPSEARCH).
    I tried to "duplicate" the part referring to a standard button (e.g. the "display icon" chunk), obtaining a new chunk which represents the new button in the template.
    And... it works, in the sense that the button is visible and clickable. So far so good. Here's the questions since I'm not absolutely an expert on Jscript... My button, once clicked, triggers my FORM (PO_COPY) which should receive the header GUID of the Puchase Order.
    In debug I've seen that the form fails since it does not receive any parameter, and that's probably related to this section:
    (angle brackets omitted, it gave me an error posting tags in sdn)
    "JavaScript:HyperSubmit('PO_COPY', '`MAINLIST-LINE_NUMBER[j].value`')"
    The problem is I did not understand how to check for possible parameters of this HyperSubmit method. Also, I'd like to check what's the structure of MAINLIST (as far as I've seen,  MAINLIST-LINE_NUMBER[j].value is a parameter passed to the form) but don't know how to see that. Can anyone please direct me through these passages? Thanks in advance.

    Hi Matteo Montalto,
    Please let me know how you added new button.
    Regards,
    neelima

  • Category search box?

    Hi
    I'm trying to create a category search similar to NetBeans 6.5 or Safari (Mac OS X) search box, which displays an arrow and magnifying glass on the left for selection of a category (or a field in a table to search on). How is this best done?
    Help appreciated,
    Lance

    OK I found it (you're lucky I have NetBeans available right away!).
    As far as the logic of the component goes, you can put two widgets nested in a JPanel, BorderLayout: one JComboBox WEST, and one JTextField, CENTER. I leave you search about the auto-completion (or auto-search) on the JTextField, widely discussed on Java forums.
    But I guess I see what appeals you in the, e.g. NetBeans search box rendering, is that it gives the appearance that the drop-down box is actually part of the text field, as there is nor border between the text field and the drop-down box (except a small vertical separator that foes not span the whole height).
    It may not be easy to render that, one simple hack could be to override the JTextField.paint() method and clip the Graphics object to a smaller rectangle (that doesn't include the left-hand border of the textfield), then call super.paint() with the clipped Graphics. Same thing goes for the right-hand side of the JComboBox. Easier still, clip both Graphics so that no border appears, and let the containing JPanel have a LineBorder (but it might not look exactly like a JTextFiled border).
    Of course you have to set the same background color to the JTF and JCBox, if it's not the case out of the box.

  • Cannot do a category search

    I have tried a few times to do a category search only, I keep
    getting sent to this page, then send in an email regarding the
    problem to little avail!
    The web site you are accessing has experienced an unexpected
    error. Please contact the website administrator
    Variable FTVAR_RESULTTYPE is undefined.
    Resources:
    Enable Robust Exception Information to provide greater detail
    about the source of errors. In the Administrator, click Debugging
    & Logging > Debug Output Settings, and select the Robust
    Exception Information option.
    Check the ColdFusion documentation to verify that you are
    using the correct syntax.
    Search the Knowledge Base to find a solution to your problem.
    Browser Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6;
    en-us) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1
    Safari/525.27.1
    Remote Address 10.172.32.23
    Referrer
    http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid=15&catid=194&entercat= y
    Date/Time 27-Jan-09 08:31 AM
    any help would be appreciated

    The category search still does not work! I did find a
    solution that works and that is to not use it, instead use the
    search at the top right of the page

  • "search summary region" not in account details page for trx type invoice

    Hi All,
    This is the issue being faced by the customer.
    OIR.CU3 provided an update adding a "search summary region" in account details page.
    After applied CU3, in our development instance, Search summary region is missing in account details page when perform searches with search type: invoice, credit memo or payment. But search summary region is present by search type "all receivables" or "all transaction".
    We do not have any customizations in the account details page. But we do have custom ARI_CONFIG package.
    Custom ARI_CONFIG package is suspicious on this issue based on:
    1) We have custom INV/CM/Payment search codes in the search_custom_trx procedure, which provides the search results in acct details page.
    2) The info displayed in search summay region is based on the search results from ARI_CONFIG
    3) We don't have any custom code in ari_config package in vision and vision shows successfully the search summary region with search by INV/CM/Payment/All_trx/All_receivables.
    Since custom ARI_CONFIG package is supported by oracle customer would liek to know where is the search summary region gets calculated.
    This issue of this section not being displayed is not there when the custom package is not used.
    Please provide your valuable inputs on this.
    SR 7466789.993
    Customer: ADP INC
    Regards,
    Vijaya

    Hi Kumar,
    Thank you very much for responding on the query. Can you please provide me the exact file name as the customer would like to know which part of the code (which function call) he should make so that the summary section is seen even when the custom package is used.
    Also can you please let me did even anyone complain that the summary section is not shown when the custom package is used.
    Thanks for your help in advance.
    Regards,
    Vijaya
    Edited by: user782870 on May 6, 2009 2:53 AM

  • Monitor Shopping Cart, Product category search Issue

    Hi,
    In Monitor Shopping Cart, I am clicking on search product category to search the availble product cateogry
    It is showing all the product cateogry, some of which not required
    for Example :It is showing R3MATCLASS and R3PRODSTYP product cateogry
    My question is
    1) How I can restrict R3PRODSTYP  product category
    2) Can I restrict R3MATCLASS product category also individually in search
    Thanks,
    jai

    after debugginng, I found that the hirarchy data is calling from
    table ;comm_category and comm_prcat
    and
    The field Product Category (CATEGORY_ID) has search help(COM_CAT_HIER)
    I am working on this,
    Pls let me know your input on this.
    Thanks,
    Jai

  • Cross category search in CCM 2

    Hi  guys,
    Our client is used to work with a Requisite Catalog in which it was possible to search and select positions in various categories/views within the same catalog. After selecting the positions, one could transfer them all at once to a shopping cart.
    Now we are implementing CCM 2.0.
    CCM 2.0 seems to work in the following way:
    One enters a category within a Catalog and picks for example two positions (materials).
    Then one has to add this selection first to the shopping cart and after this one can pick again the catalog and go to another category to pick more materials.
    This procedure occupies a lot more time than in Requisite.
    My question is if one can modify the -Selection and Picking procedure- in CCM 2.0 in such a way that one can select all materials first (within various categories in the same catalog) and secondly, transfer them to the shopping cart all at once?
    Please help me out here, any reply is welcome.
    Thanks,
    Aart

    Not necesary anymore. We use trx BBPSC01

  • Category search

    Hi!
    With our webapplication Tool for ContentServices the user should be able to search for documents with categories and category values.
    Everything works fine, except one case:
    I assigned one category several times to one document and changed the values for every category-item. Now they look like that:
    HasenCategory (1)
    maxSprungweite = 6,76
    Möhrenvorrat = 255
    HasenCategory (2)
    maxSprungweite = 4
    Möhrenvorrat = 130
    HasenCategory (3)
    maxSprungweite = 1
    Möhrenvorrat = (empty)
    Then I tried to search for this document with the SearchManager form the ContentServices API by creating a search expression that looks like that:
    SearchExpression:
    leftOperand
    leftOperand = "Name"
    operator = "Equal"
    rightOperand
    leftOperand
    leftOperand = [...] (HasenCategory - Möhrenvorrat)
    operator = "Equal"
    rightOperand = "255"
    operator = "AND"
    rightOperand
    leftOperand = [...] (HasenCategory - Möhrenvorrat)
    operator = "Equal"
    rightOperand = "130"
    So I expected to get back this document because it has got a HasenCategory where the attribute value for the attribute Möhrenvorrat is 255 and the document also has got a HasenCategory where the attribute value for Möhrenvorrat is 130, but that doesn't succeed. I got back an empty searchresult.
    Does anybody know how to construct a search expression that brings back the result I expected? Is it even possible to construct such a search expression for the SearchManager or doesn't it support such a search?
    Thanks for every reply
    Verena

    Tommm, I agree. I have switched from Palm Treo 680 to iPhone half a year ago and since then I am asking the exact same questions.
    Even Phil Schiller said very clearly in his WWDC 2008 appearance that *week view* was his favorite view!
    As for the missing task app, I have listed a few alternatives here: http://discussions.apple.com/thread.jspa?threadID=1560480&tstart=0
    All of them require Software 2.0 and the AppStore (except for MobileToDoList ).
    Meanwhile, it's certainly a good idea to send a feedback to Apple.

  • Category Search, Week View, To Do's

    For my needs, the iPhone software must have: 1) a week-view in the calender (month view doesn't give enough information, day view doesn't let me scan ahead).
    2) A contact search function that will look for addresses and comments as well as just names (say I need to find a favorite restaurant in LA having forgotten the name).
    3) To do's.
    These three are available in all decent organizer software (eg. Palm). Are they coming to the iPhone, either from Apple or 3rd parties????

    Tommm, I agree. I have switched from Palm Treo 680 to iPhone half a year ago and since then I am asking the exact same questions.
    Even Phil Schiller said very clearly in his WWDC 2008 appearance that *week view* was his favorite view!
    As for the missing task app, I have listed a few alternatives here: http://discussions.apple.com/thread.jspa?threadID=1560480&tstart=0
    All of them require Software 2.0 and the AppStore (except for MobileToDoList ).
    Meanwhile, it's certainly a good idea to send a feedback to Apple.

  • Can you search iTunes library in one category - search only artists, etc.?

    I am using iTunes 7.5 (19). I want to search through my artist names only, but the search pulls up anything with my keywords in it - song titles, album titles, etc. Is there any option for searching only a single column of information?

    Hi tzikeh,
    In the iTunes search box is a small triangle. Click on it and you have will the option to search by,
    All, Artist, Album or Name.
    fern K

  • Interaction Center Search by category

    Hi,
    I'd added the category search in BTQTransInbox. Everything works so far but it works not as expected.
    Example Category:
    Root
      Child_1
         Child_1_1
      Child_2
    If I enter Child_1_1 evertying with category child_1_1 will be returned. But If I enter child_1 nothing will be returned. It looks like, that the query searches evereytime only the lowest categorynode - but in this case I 'd like to get everything, where Child_1 is choosen, but where lower level categories exists.
    Any Idea how to solf this?
    Thanks in advance
    Paul

    Created a Page group having items based on Category- CatA and also based on Category-General. Using the Advanced Search portlet
    searched by CatA in my pagegroup. Only items based on Category-CatA are returned in the results under items tab.which is the correct
    behaviour. Same is true for Custom Search portlet.
    I have tried this on portal version 9.0.2.2.22(Production)
    Can you please provide a step by step testcase and the version of Portal you are using.

  • Multiple custom category query fails

    We are having a problem issuing multiple-category searches. We have created a purchase order category and an invoice category to assign to purchase order and invoice documents respectively. Both categories have a PurchaseOrderNo field since the documents are related by purchase order number.
    We can search for documents where 'PurchaseOrder:PurchaseOrderNo=1234' and retrieve the purchase order; we can also search for documents where 'Invoice:PurchaseOrderNo=1234' and retrieve the appropriate invoices. However, if we search for documents where 'PurchaseOrder:PurchaseOrderNo=1234 OR Invoice:PurchaseOrderNo=1234' we get no results. How do we give our users what they expect to see which is the purchase order and all its associated invoices?
    Thanks.

    Hi
    This search bug is specifically related to using a category instance attribute condition under an "OR" branch/tree as part of your search expression. If you are not using a category attribute search condtion in your search expression under an "OR" branch, then you are not running in to this particular bug. As far as this particular bug is concerned ...
    Code changes and testing have been completed on the Content DB code line to fix the bug (associated bug # is 5871454).
    No external patch is yet available, though we are expecting a new CDB major patchset to be available soon (in the next month) which will contain this fix.
    If you have access to an Oracle rep, they may be able to send you a very rough one-off patch/fix for this problem for Content DB 10.2 instances. The internal only one-off patch is referenced in the bug above.
    Unfortuntely I have no time frame as to when this fix may be available for Content Services instances. Backporting has not been done to the Content Services code line.
    thanks
    Matt.

  • How to add F4 pop-up to a zfield (appended in the structure) in the search.

    Hi Friends,
    I have a doubt and need your help to get it resolved.
    I have a search view, and i have appended a field Product_hierarchy to it. now the field is displayed in the UI .
    I have added the component usage of the product category search help in my component also.
    now i tried to put the code in get_dquery_valuehelps:
    WHEN 'ZZPROD_HIERARCHY'.
            CALL METHOD cl_crm_uiu_bp_cust_get=>get_values_for_field
              EXPORTING
                iv_fieldname   =       ................................... ( what should i enter here)
               IV_PARTNER     =
              RECEIVING
                rt_value       = lt_ddlb
    or i should follow some other approach. right now i am getting Prod_hierarchy in UI with the DDLB showing message 'This Method is not implimented yet'
    Please suggest.
    Regards,
    VD

    You need to implement get_v method.
    also implement an outbound plug
    also implement an event eg: SEL_IBASECOMPONENT.  this gets called when you close the popup
    Example --
    method GET_V_IBASE_COMPONENT.
      create object rv_valuehelp_descriptor type cl_bsp_wd_valuehelp_navdescr
      exporting
        iv_outbound_plug = 'OP_FINDIBASECOMPONENT'.
    endmethod.
    method OP_FINDIBASECOMPONENT.
      data:
            lv_title type string.
      IF ibcompvaluehelp_popup IS NOT BOUND.
        lv_title = cl_wd_utilities=>get_otr_text_by_alias( 'CRM_UIU_BT/IBCOMP_SEARCH' ).
        ibcompvaluehelp_popup = comp_controller->window_manager->create_popup(
                                             iv_interface_view_name = 'MainWindow'      
                                             iv_usage_name = 'ZWTS_IBaseVH'                 "the comp usage name     in the component
                                             iv_title = lv_title ).
      ENDIF.
      ibcompvaluehelp_popup->set_on_close_event( iv_view = me iv_event_name = 'SEL_IBASECOMPONENT' ).
      ibcompvaluehelp_popup->set_display_mode( if_bsp_wd_popup=>c_display_mode_surrounded ).
      ibcompvaluehelp_popup->open( iv_inbound_plug = 'SEARCH_COMP_F4' ).    "look at the child component to find plug.. you can assign "DEFAULT" if not sure
    endmethod.
    METHOD eh_onsel_ibasecomponent.
      lv_context_node = ibcompvaluehelp_popup->get_context_node( iv_cnode_name = 'IBCOMPONENTLIST' ). "look the child component and find the context node  related to the search help result list
      lv_col_wrapper = lv_context_node->collection_wrapper.
      lv_current ?= lv_col_wrapper->get_current( ).  "the selected record from the search help(child component) will be available here
    "then pass value from this entity current to your own context node(parent component)

  • CCM 2.0 Simple search on CSE does not show any result

    Hello guys,
    I'm trying to search items by means of simple text search in CSE. Unfortunately, the system returns no result, though I can see the items by means of category search (that makes me thing that it's not a problem of views).
    I search for a part of the description text (and Short Description is a searchable characteristic).
    I regenerated TREX indexes with /CCM/RECREATE_INDEX report, but with no success.
    Have you got any idea?
    Thanks a lot!
    Pierluigi

    Hi Atul,
    thanks for your support. Unfortunately, all the suggested notes are inapplicable:
    Note 871302 - Unable to switch between catalogs using F4 help<b> --> Outside our issue</b>
    Note 890967 - /CCM/CHECK_TREX shows incorrect document content<b> --> Covered by our SP Level</b>
    Note 946185 - CCM20: /CCM/CHECK_TREX modifications<b> --> Covered by our SP Level</b>
    Note 707781 - Product search does not find all documents<b> --> Outside our issue</b>
    Note 723688 BBP TREX corrections for SRM 4.0 SP01<b> --> Outside our issue</b>
    Note 778688 TREX_INDEX_MANAGER unit test update_view(): incorrect search<b> --> Covered by our SP Level</b>
    Note 930788 - Search help for catalog does not display all catalogs<b> --> Outside our issue</b>
    Note 1028343 Changes in the repository not reflected in Catalog UI<b> --> Outside our issue</b>
    Note 1015201 - SRM-MDM Catalog 1.0 Patch02 Release Note<b> --> Outside our issue</b>
    Note 487917 BADI implementation f. BBP_CATALOG_CONTENT (Troubleshooting) <b>--> Outside our issue</b>
    Note 877131 Product category is not permitted for the user<b> --> Outside our issue</b>
    Note 623067 SRM 2.0 Integrated Catalog does not display catalog info <b>--> Covered by our SP Level</b>
    Thx again.
    PD

  • SRM - Contract management - product category - SRM 5.0

    Hello,
    The product category was set as mandatory field in the contract management.
    By creating a contract or modifying an existing one, a product category must be selected.
    When I'm connected in English, i can use product category search function, and all the product category are populated.
    I'm so able to select a product category in the contract
    But when I'm connected in French, it is impossible to use the search function because no values are populated.
    I already check the transaction COMM_HIERARCHY, but English and French are already set.
    Thank you for help.

    1. GOA+LOcal contract = Central contratct.pls coreect me
    :- Basically Central Contracts are created in SRM and copied to ECC. Then after you can refer that contract as GOA.
    2. When the central contract is created in SRM is it dcistributed as Contract or Scheduling agreeemtn in ECC.
    :- It's distributed as Contract.
    3. Also, in SRM 7.0 is it possible to create contract directly in ecc from the sourcing cockpit.
    :- No; it's not possible. You have to create contract in SRM first then you can distribute it to ECC.

Maybe you are looking for