How to implement Type Ahead in Endeca

Hi
Can anyone help us as how to implement type ahead search in Endeca ATG.
Any documents related to it?
Thanks

Hi,
The following links might help you.
how to implement type-ahead for search
Implementation of type-ahead functionality in Endeca JSP Ref application
Re: Problem with endeca typeahead
(You can even continue the hunt for the answer for this qn that forum as more Endeca experienced persons will be answering there)
Thanks,
Gopinath Ramasamy

Similar Messages

  • How to implement type-ahead for search

    Hi there,
    I would like to have type-ahead for my endeca. e.g. if user clicks on search box and type"g", it should show all items starts with g.
    How can I do that? I have only three dimensions : PRIRCERANGE, category and flex. And I have 3 properties: description, color, price, uom, sku etc.

    Endeca exposes webservice that can be accessed by xquery library provided by endeca. You can write your own xquery module to fetch dimension query result, format and use as a output to type-ahead.
    Refer below xquery guide to get more details about developing
    your own xquery module,
    http://docs.oracle.com/cd/E28910_01/MDEX.622/pdf/XQueryDevGuide.pdf
    HTH
    -Pravin

  • How to implement Top navigation in endeca

    Hi,
    How do I implement top nav in endeca instead of left nav? Currently the top nav that I have is simply the same as left nav, so on selecting refinements, the top nav gets filtered and disappears. Please help with this!
    Thanks!

    User975726,
    There are various approaches that you can use to build your Top Navigation.  I can't give yu a full solution on this forum but here are a few thoughts to get started. I am going to assume that you can use presentation API to build your application.
    Execute a seperate N=0 with all dimensions exposed and use the navigation object to build your top menu.  Note that exposing all refinements is expensive and if you have hierarchical dimension then all the nodes will not be exposed at the same time. Cache the menu at a session or application level if possible.
    If you have hierachical dimension then you might want to build an offline process that executes a seperate query for each node and builds and caches the entire top menu.  It might not be a bad idea to do this offline (after baseline or partials) and store the results as xml or json that your application can then use to construct the menu.
    If you are not using the Url Optimization API then you can also use the actual dimension xml to build your menu.  This will be a bit more complicated if autogen and external dimensions are to be included but is an option.
    I am sure one can come up with other alternatives but in general try to build your menu and cache it.  Also keep in mind that the process can get more complecated if you have record filters and roles or other parameters to consider.
    IHTH.
    Best,
    Kaush

  • How to disable type ahead feature?

    Is there a way to disable the type ahead feature?
    It's annoying to constantly have to pause typing while the app retrives a table list, field list, or anticipated keyword list.

    Disable Code Insight features (Tools -> Preferences -> Code Editor -> Code Insight)

  • Endeca Type Ahead Search

    Hi,
      We are working on ATG 10.2 with Endeca 3.1.2 integration and are exploring different ways of type ahead searches. The required functionality is to achieve similar suggestions like google search from the catalog data. The Endeca Experience Manager out of box has cartridges which query dimension search for this feature, apart from these do we have any other endeca specific APIs to achieve the same functionality.

    Hi,
    The following links might help you.
    how to implement type-ahead for search
    Implementation of type-ahead functionality in Endeca JSP Ref application
    Re: Problem with endeca typeahead
    (You can even continue the hunt for the answer for this qn that forum as more Endeca experienced persons will be answering there)
    Thanks,
    Gopinath Ramasamy

  • Implementation of type-ahead functionality in Endeca JSP Ref application

    Hi all,
    I am trying to implement the type-ahead functionality in Endeca jsp reference application which Oracle is shipping with it's products. The type-ahead functionality is not present by default. Can anyone help me to implement the same thing or provide sample code/strategy to achieve the desired results ?
    Basically typeahead functionality is present in Endeca Information's quick start's search box (EID) but not it JSP reference application .
    Waiting for the replies...
    Regards,
    Hoque

    Type-ahead functionality can mean different things and be implemented in different ways. It is usually based on what behavior your user-space would benefit from.
    In the commerce space, one popular use-case is to return Category matches based on what a user has started typing. Within Endeca, this boils down to doing a dimension search and having the Category dimension enabled for dimension search. If a user starts typing "cam", the type-ahead would then recommend:
    Category: Cameras
    You can match on multiple dimensions though, so long as they are enabled for dimension search. For example, if a user starts typing "ca", the type-ahead could return:
    Category: Cameras
    Brand: Canon
    Furthermore, this behavior can be extended by enabling Compound Dimension Search. Compound Dimension Search is enabled via a flag on the dgidx process and on your ENEQuery. It provides the following behavior. If a user searches for "canon cam", it would suggest:
    Category: Cameras + Brand: Canon
    Clicking on the type-ahead would return the intersection of Category = Cameras and Brand = Canon, eliminating a click if the user is after Canon brand Cameras.
    With regards to implementation, it basically boils down to an AJAX call to a service/URL that responds with dimension search results. Then populate an empty <div> with links.
    Other scenarios involve returning Product/Record matches instead of Dimension matches.
    Edited by: gose on Sep 11, 2012 8:31 AM

  • How many types of authentications in sharepoint and how to implement those authentication in sharepoint?

    Hi All,
    How many types of authentications in sharepoint and how to implement those authentication in sharepoint?
    can any one explain the above things with examples?
    Thanks in Advance!

    In addition to
    A Sai Gunaranjan you can also check this URL for Sharepoint 2010:
    http://technet.microsoft.com/en-us/library/cc288475(v=office.14).aspx
    http://www.codeproject.com/Tips/382312/SharePoint-2010-Form-Based-Authentication
    ***If my post is answer for your query please mark as answer***
    ***If my answer is helpful please vote***

  • How to implement SCD type 2 in OWB 11g

    Hi all,
    I would like to know that how to implement SCD type 2 in OWB 11g.
    Actually I have tried to implement it but the target table which contains the effective_date and expiration_date are null after running the mapping.
    I have set the effective date and expiration date settings in the SCD tab of dimension object.
    Kindly help me the same if anyone knows.
    Kind regards,
    shikha

    You were able to get OWB11g to move data?
    Are you running on a 64-bit windows server? I could not get it to do a basic data move on this type of server install.

  • How can I restore "type ahead" Search suggestions?

    Back in the good old days of Safari 3 (and 4?) it had a useful trick of auto-completing phrases as you started typing in the Google Search field. It stopped working in Safari 5, so I was directed to Glims for Safari, which worked great.
    Up until last week, although the Links part of Glims didn't work, the Search Words (i.e. type ahead) did work so I was happy enough. Now it's stopped. I download the latest Glims and now I have the Links working, but not the type ahead Search Words!
    In Safari I've changed my New Tab default page from Top Sites to Google UK Home page instead. This loads much quicker than Top Sites and the cursor is in the Search field. Typing anything brings "type ahead search suggestions".
    Is this my only option? Anyone know why Glims should suddenly stop doing what it used to?

    For an issue with Glims, better to ask the developers of the software.
    You can report a bug here >  http://www.machangout.com
    If you are a Facebook user, you can Like Glims then ask questions directly on their news feed. They will respond.
    For Safari, make sure:  Prevent search engine from providing suggestions is not selected in Preferences > Privacy
    And try this for Safari...
    Open the Finder. From the Finder menu bar click Go > Go to Folder
    Type of copy/paste:   ~/Library/Caches/com.apple.Safari
    Click Go then move the Cache.db file from the com.apple.Safari folder to the Trash.
    Quit and relaunch Safari to test.
    edited by:  cs

  • How to implement a parallel approval?

    Hi, all.
    My process has a parallel approval, but I have no idea how to implement it.
    I have a task which has to be approved by three different managers parallelly.
    If all of them approve the task, then the task will keep going, otherwise the task fails.
    Besides I also have to monitor which manager doesn`t make a decision yet.
    Can any have the same requirement with mine?

    Hi Louis,
               I think this document do provide some steps for creating parallel blocks approval type.Hoping this might resolve or act as help in the query you are facing.Link : [parallel|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8269bdb8-0701-0010-4692-c3349106ec66].
    Have a best day ahead.

  • JComboBox with type-ahead capabilities?

    Hi, guys:
    I have a JComboBox with a list of string items. Since the list is very long (with several hundred of items), I would like to implement someting like
    the following so that use does not have to scroll down the list to search for an item: when user types the starting letter of an item, it should locate the first item starting with this letter. IE address bar has this kind of type-ahead capability
    I am wondering how I can do the similar thing using Swing JComboBox?
    regards,

    Thanks for your sample, it works.
    Here is the "old code" I am talking about. I slightly modified it and add a main method. It looks fine, but it just does not work. I really have no clue why this one just does not work:
    import java.awt.event.KeyListener;
    import java.util.Vector;
    import javax.swing.ComboBoxModel;
    import javax.swing.JButton;
    import javax.swing.JComboBox;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JTextField;
    public class SelectableComboBox
        extends JComboBox
        protected boolean required;
        protected JLabel fieldLabel;
        public SelectableComboBox()
            super();
        public SelectableComboBox( final boolean required )
            super();
            this.required = required;
        public SelectableComboBox( final ComboBoxModel model )
            super( model );
        public SelectableComboBox( final Object[] objects )
            super( objects );
        public SelectableComboBox( final Vector v )
            super( v );
        public void setEnabled( final boolean b )
            super.setEnabled( b );
            if( this.fieldLabel != null )
                this.fieldLabel.setEnabled( b );
        public JLabel getLabel()
            return this.fieldLabel;
        public void setLabel( final JLabel l )
            this.fieldLabel = l;
        public JLabel createLabel( final String s )
            this.fieldLabel = new JLabel( s );
            return this.fieldLabel;
        public boolean isEquals( final String s )
            if( this.fieldLabel != null && this.fieldLabel.getText() != null
                    && s != null )
                return s.equals( this.fieldLabel.getText() );
            return false;
        public String toString()
            if( this.fieldLabel != null && this.fieldLabel.getText() != null
                    && this.fieldLabel.getText().length() > 0 )
                return this.fieldLabel.getText();
            return super.toString();
        public void setRequired( final boolean req )
            this.required = req;
        public boolean isRequired()
            return this.required;
        public JTextField getTextField()
            int total = getComponentCount();
            JTextField field = null;
            for( int i = 0; i < total; i++ )
                if( getComponent( i ) instanceof JTextField )
                    field = (JTextField) getComponent( i );
                    break;
            return field;
        public JButton getButton()
            int total = getComponentCount();
            JButton button = null;
            for( int i = 0; i < total; i++ )
                if( getComponent( i ) instanceof JButton )
                    button = (JButton) getComponent( i );
                    break;
            return button;
        public void addKeyListener( final KeyListener l )
            JTextField field = getTextField();
            if( field != null )
                field.addKeyListener( l );
        public void removeKeyListener( final KeyListener l )
            JTextField field = getTextField();
            if( field != null )
                field.removeKeyListener( l );
        public static void main( final String[] args )
            JFrame fr = new JFrame();
            fr.setSize(150,75);
              fr.setLocation(400,300);
              fr.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              JPanel jp = new JPanel();
              SelectableComboBox cb = new SelectableComboBox();
            cb.addItem( "Abc" );
            cb.addItem( "cbs" );
            cb.addItem( "nbc" );
            cb.addItem( "fox" );
            cb.addItem( "wb" );
            cb.addItem( "ycc" );
              jp.add(cb);
              fr.getContentPane().add(jp);
            fr.pack();
            fr.setVisible( true );
    }Appreciate your help.

  • Can't Figure Out How To Implement IEnumerable T

    I have no problem implementing IEnumerable but can't figure out how to implement IEnumerable<T>. Using the non-generic ArrayList, I have this code:
    class PeopleCollection : IEnumerable
    ArrayList people = new ArrayList();
    public PeopleCollection() { }
    public IEnumerator GetEnumerator()
    return people.GetEnumerator();
    class Program
    static void Main(string[] args)
    PeopleCollection collection = new PeopleCollection();
    foreach (Person p in collection)
    Console.WriteLine(p);
    I'm trying to do the same thing (using a List<Person> as the member variable instead of ArrayList) but get compile errors involving improper return types on my GetEnumerator() method. I start out with this:
    class PeopleCollection : IEnumerable<Person>
    List<Person> myPeople = new List<Person>();
    public PeopleCollection() { }
    public IEnumerator<Person> GetEnumerator()
    throw new NotImplementedException();
    IEnumerator IEnumerable.GetEnumerator()
    throw new NotImplementedException();
    class Program
    static void Main(string[] args)
    // Create a PeopleCollection object.
    PeopleCollection peopleCollection = new PeopleCollection();
    // Iterate over the collection.
    foreach (Person p in peopleCollection)
    Console.WriteLine(p);
    Console.ReadLine();
    That code compiles (basically because I haven't really done anything yet), but I get compile errors when I try to implement the GetEnumerator() methods.

    The List<T> class implements the IEnumerable<T> interface, so your enumerator can return the GetEnumerator call from the list.
    class PeopleCollection : IEnumerable<Person>
    List<Person> myPeople = new List<Person>();
    public PeopleCollection() { }
    public IEnumerator<Person> GetEnumerator()
    return myPeople.GetEnumerator();
    IEnumerator IEnumerable.GetEnumerator()
    return myPeople.GetEnumerator();
    class Program
    static void Main(string[] args)
    // Create a PeopleCollection object.
    PeopleCollection peopleCollection = new PeopleCollection();
    // Iterate over the collection.
    foreach (Person p in peopleCollection)
    Console.WriteLine(p);
    Console.ReadLine();

  • How to implement tool-tip for the list items for the Choice column in SharePoint 2013

    I had created a simple list with a "Choice" column, i have three entries in my drop-down, 
    First Entry
    Second Entry
    Third Entry.
    If i select any entries in drop-down and hour-over (Second Entry), a
    tool-tip need need to show. 
    Is it possible? If yes how to implement any help will be appreciated.

    Hi,
    We can use JavaScript to achieve it.
    The following code for your reference:
    <script type="text/javascript" src="/sites/DennisSite/Shared%20Documents/js/wz_tooltip.js"></script>
    <script type="text/javascript" src="/sites/DennisSite/Shared%20Documents/js/jquery-1.11.1.min.js"></script>
    <script type="text/javascript">
    $(function () {
    $("select[title='Choice']").change(function(){
    Tip($(this).val());
    $("select[title='Choice']").mouseout(function(){
    UnTip();
    </script>
    Download wz_tooltip.js:
    http://www.walterzorn.de/en/tooltip/tooltip_e.htm#download
    Best Regards
    Dennis Guo
    TechNet Community Support

  • How to implement multiple Value Helps within the same Application ??

    Dear Experts,
    I want to implement multiple value helps in the same view.For that I have declared exporting parameters of type 'wdy_key_value_table.' within the component controller for each of the value helps.While I do activate and test the application I get the following error :
    The following error text was processed in the system HE6 : A row with the same key already exists.
    The error occurred on the application server hsdnt24s11_HE6_00 and in the work process 4 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: VALUESET_BSART of program /1BCWDY/9VSHJWRNR0EZPKFT3ZKC==CP
    Method: IF_PO_VIEW1~VALUESET_BSART of program /1BCWDY/9VSHJWRNR0EZPKFT3ZKC==CP
    Method: WDDOINIT of program /1BCWDY/9VSHJWRNR0EZPKFT3ZKC==CP
    Method: IF_WDR_VIEW_DELEGATE~WD_DO_INIT of program /1BCWDY/9VSHJWRNR0EZPKFT3ZKC==CP
    Method: DO_INIT of program CL_WDR_DELEGATING_VIEW========CP
    Method: INIT_CONTROLLER of program CL_WDR_CONTROLLER=============CP
    Method: INIT_CONTROLLER of program CL_WDR_VIEW===================CP
    Method: INIT of program CL_WDR_CONTROLLER=============CP
    Method: GET_VIEW of program CL_WDR_VIEW_MANAGER===========CP
    Method: BIND_ROOT of program CL_WDR_VIEW_MANAGER===========CP
    I dont know how to implement multiple value helps.Need your help on this.
    Regards,
    Mamai.

    Hi
    Hint is : A row with the same key already exists it means , It is assigning the same value/Key to row and you are calling it at WDDOINIT  so it giving error at the time of initialization .
    Better way to do the coding at some event in view OR if not possible than just execute the first value help in wddoinit later clear all the value before gettig the other Value help. Code it at WdDoModify View to get its run time behaviour.
    BR
    Satish Kumar

  • How to implement Strategy pattern in ABAP Objects?

    Hello,
    I have a problem where I need to implement different algorithms, depending on the type of input. Example: I have to calculate a Present Value, sometimes with payments in advance, sometimes payment in arrear.
    From documentation and to enhance my ABAP Objects skills, I would like to implement the strategy pattern. It sounds the right solution for the problem.
    Hence I need some help in implementing this pattern in OO. I have some basic OO skills, but still learning.
    Has somebody already implemented this pattern in ABAP OO and can give me some input. Or is there any documentation how to implement it?
    Thanks and regards,
    Tapio

    Keshav has already outlined required logic, so let me fulfill his answer with a snippet
    An Interface
    INTERFACE lif_payment.
      METHODS pay CHANGING c_val TYPE p.
    ENDINTERFACE.
    Payment implementations
    CLASS lcl_payment_1 DEFINITION.
      PUBLIC SECTION.
      INTERFACES lif_payment.
      ALIASES pay for lif_payment~pay.
    ENDCLASS.                 
    CLASS lcl_payment_2 DEFINITION.
      PUBLIC SECTION.
      INTERFACES lif_payment.
      ALIASES pay for lif_payment~pay.
    ENDCLASS.                   
    CLASS lcl_payment_1 IMPLEMENTATION.
      METHOD pay.
        "do something with c_val i.e.
        c_val = c_val - 10.
      ENDMETHOD.                   
    ENDCLASS.                  
    CLASS lcl_payment_2 IMPLEMENTATION.
      METHOD pay.
        "do something else with c_val i.e.
        c_val = c_val + 10.
      ENDMETHOD.  
    Main class which uses strategy pattern
    CLASS lcl_main DEFINITION.
      PUBLIC SECTION.
        "during main object creation you pass which payment you want to use for this object
        METHODS constructor IMPORTING ir_payment TYPE REF TO lif_payment.
        "later on you can change this dynamicaly
        METHODS set_payment IMPORTING ir_payment TYPE REF TO lif_payment.
        METHODS show_payment_val.
        METHODS pay.
      PRIVATE SECTION.
        DATA payment_value TYPE p.
        "reference to your interface whcih you will be working with
        "polimorphically
        DATA mr_payment TYPE REF TO lif_payment.
    ENDCLASS.                  
    CLASS lcl_main IMPLEMENTATION.
      METHOD constructor.
        IF ir_payment IS BOUND.
          me->mr_payment = ir_payment.
        ENDIF.
      ENDMETHOD.                  
      METHOD set_payment.
        IF ir_payment IS BOUND.
          me->mr_payment = ir_payment.
        ENDIF.
      ENDMETHOD.                  
      METHOD show_payment_val.
        WRITE /: 'Payment value is now ', me->payment_value.
      ENDMETHOD.                  
      "hide fact that you are using composition to access pay method
      METHOD pay.
        mr_payment->pay( CHANGING c_val = payment_value ).
      ENDMETHOD.                   ENDCLASS.                  
    Client application
    PARAMETERS pa_pay TYPE c. "1 - first payment, 2 - second
    DATA gr_main TYPE REF TO lcl_main.
    DATA gr_payment TYPE REF TO lif_payment.
    START-OF-SELECTION.
      "client application (which uses stategy pattern)
      CASE pa_pay.
        WHEN 1.
          "create first type of payment
          CREATE OBJECT gr_payment TYPE lcl_payment_1.
        WHEN 2.
          "create second type of payment
          CREATE OBJECT gr_payment TYPE lcl_payment_2.
      ENDCASE.
      "pass payment type to main object
      CREATE OBJECT gr_main
        EXPORTING
          ir_payment = gr_payment.
      gr_main->show_payment_val( ).
      "now client doesn't know which object it is working with
      gr_main->pay( ).
      gr_main->show_payment_val( ).
      "you can also use set_payment method to set payment type dynamically
      "client would see no change
      if pa_pay = 1.
        "now create different payment to set it dynamically
        CREATE OBJECT gr_payment TYPE lcl_payment_2.
        gr_main->set_payment( gr_payment ).
        gr_main->pay( ).
        gr_main->show_payment_val( ).
      endif.
    Regads
    Marcin

Maybe you are looking for

  • Battery drain faster after udating to iOS 8.1.2 ( iPhone 5s A1530 16GB )

    I have been wondering faster battery drain after updating to ios 8, I upgraded to iOS 8.1.2 it has been worst with this drain faster by 40% in draining, What shall i do??? I have contacted apple support and customer care i didn't get a solution. Plea

  • 11.1.3 workspace web context issues

    Hi all, I am running an apparently successfully configured version of 11.1.1.3. Everything was working fine, until I stopped all the services so that I could take a backup, and then restarted them manually in the order recommended by Oracle. Now the

  • No sound since iOS 7 update

    I have no keyboard clicks or mail notification since the update

  • How does the OpenMedSpel extension work?

    I installed the OpenMedSpel 1.0.8 extension. It's listed on my extension list, but I cannot find it anywhere. I have uninstalled and reinstalled it, but it still doesn't show up. How does it work?

  • Very poor CPU and GPU performance when disconnected from AC

    I've been looking for a similar topic here but after a while I didn't find anything similar. I know when the Macbook Pro is running just with the battery the performance and speed is lower than plugged to the AC, but in my case the difference is ridi