Problem with search API -- TextSearchConstraint.SOUNDS_LIKE

Hi All,
Im trying to use TextSearchConstraint.SOUNDS_LIKE to find similiar data records in MDM repository.
There are 3 records in table "MDM_BUSINESS_PARTNERS", the value of it' "name" field are: "akedemic",  "akedemci",  and "akedemic Inc." respectively.
below is the code of setting conditions:
TextSearchConstraint constraint = new TextSearchConstraint("akedemic", TextSearchConstraint.SOUNDS_LIKE);
search.addSearchItem(name_dim, constraint);
I expect to use TextSearchConstraint.SOUNDS_LIKE t get all these 3 records, but the search only returns one record "akedemic",  anyone can explain me the reason?
Thanks & Best regards,
Bin
Message was edited by:
        Bin Dong

I tried in the Data Manager Free Form Search with the values you provided.
It returs only 2 records with Sounds like constraint.
Note: The first value and third value you provided are the same.
If your data is just like the example you provided, you should get 2 records back.
For testing the Search API, you can use the Data Manager to see if the API returned results are the same as in Data Manager.
Example:
You can try the Sounds like constraint with the values for 2 records
quiet
quite
Have the constraint as sounds like quiet
You will get the two records back.

Similar Messages

  • Problems with Search in Contacts (Public folder favourite)

    Office Version:Office 2010Operating System:Windows 7
    I am running Outlook 2010, connecting to an SBS2003 server by HTTP and running in Cached mode.
    My business contacts are stored in a Public Folder, and my personal contacts in my local Contacts folder.
    The Public Folder is in my Favourites, and is designated an 'Outlook Address Book'
    'Download Public Folder Favourites' is enabled in the Exchange Mail Account settings
    I am having problems with Search (which was never a problem in Outlook 2007).
    If I select the Contacts shortcut, under 'My Contacts I have listed in order:
    Suggested Contacts
    Office Contacts (this is my public folder favourite)
    Contacts
    Search Results
    If I select the Office Contacts link, and attempt to search for a contact whose contact card I can actually see on the screen, the search will fail. The scope is defaulting to 'All Contact Items' (which is fine), but if I change this to 'Current Folder'
    then the contact is immediately found.
    In OL2007 I could search for a contact, even when not in a contact folder, and it would find every instance of it immediately.
    Any ideas here? I have been told to rebuild my index, which I will do over the weekend as it will take some time. But I have doubts it will make much difference. This is a new machine with a fresh installation of Win7 x64 and Office 2010.
    thanks

    Keith, I have this same issue here.  I looked on the Small Business Server pages for an answer as suggested by Xiu but could not find any.  I'm not sure why this would be a SBS issue as we are not running SBS and have this issue.
    For some reason, "All Contact Items" doesn't include the current folder if it is a public folder. 
    Did you ever get an answer/solution?

  • Problem with search plug-in in ver 5.9

    Hello
    I have a problem with search plug-in when you type some key words and press search button it works fine, but if you press enter jou have following error:
    Whoops. Something broke.
    Version      5.9.6.43135
    Message      Invalid postback or callback argument. Event validation is enabled using in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.
    Source      System.Web
    Stack      at System.Web.UI.ClientScriptManager.ValidateEvent(String uniqueId, String argument)
    at System.Web.UI.Control.ValidateEvent(String uniqueID, String eventArgument)
    at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument)
    at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
    at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
    at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBefore
    Our technical people have been notified.
    We're sorry for the inconvenience.
    Thanks
    Greg.

    Grzegorz, I'm going to guess this is a problem with the version you're using. We're using 2007.0.620 and whenever we hit enter on the field instead of the search button itself it returns no results. As far as I can tell, it's a bug in the system.
    It looks like updating to the latest version (624) isn't helpful either, although both 620 and 624 remove that nasty explosion that you're getting and instead just return the same page with no search results.
    There may be a way to edit some code-behind to detect when a postback is being made, although given the locked nature of Web Tools I doubt it. If you can find a way to have the button be recognized, let me know - otherwise, I'd say it's a bug that needs to be addressed in the next version.

  • I have a problem with searching page, whenever i try to open any page a blank paper cums appear only written custom search google in English

    i have a problem with searching page, whenever i try to open any page a blank paper cums appear only written custom search by google this one is not such as my google home page
    == This happened ==
    Not sure how often
    == i use to search any page like movies or etc

    Well, it seems waiting is not my strong suit..! I renamed a javascript file called recovery to sessionstore. This file was in the folder sessionstore-backups I had copied from mozilla 3 days ago, when my tabs were still in place. I replaced the sessionstore in mozilla's default folder with the renamed file and then started mozilla. And the tabs reappeared as they were 3 days ago!
    So there goes the tab problem. But again when I started mozilla the window saying "a script has stopped responding" appeared, this time the script being: chrome//browser/contenttabbrowser.xml2542
    If someone knows how to fix this and make firefox launch normally, please reply! Thank you

  • E-Recruiting: Problems with search profile and serach templates

    Hi Recruiting-Experts,
    I´m facing problems with "Search Profiles" and "Search Templates"
    (Customizing SPRO --> SAP-E-Recruiting --> Recruitment --> Talent Warehouse --> Candidate --> Candidate Search )
    Out customers wants me to add a new search criterion to the talent search. It's a customer-field (type 'd' --> Date)  belonging to infotype 5106.
    Unfortunately, it doesn't work. The hit list is always empty.
    What I did:
    Customizing (see above)
    Updated search profile (report RCF_RECREATE_SEARCH_PROFILES)
    The result:
    I can see and choose the new search criterion on talent warehouse search site (recruiters startpage)
    I can find the data (internal format yyyymmdd) via transaction SKPR07 (see XML below, ZZEARLIEST_ENTRY 20090901)
    By the way, the hit list is also empty when adding and searching for birthdate.
    Has it got to do with the date stored in internal format?
    Thanks for any comments / help.
    Regards
    CHRIS
    =========================================================================

    Hi Sebastian,
    thanks for your quick answer.
    That's why I didn't get it done for hours yesterday.
    Thanks again,
    Regards
    CHRIS

  • RWD InfoPack: problem with search

    I have a problem with Web Architect search: when I create a parent document, at the beginning I specify the keywords for the document research; but when I create the website Iu2019m not able to find that document with the search form.. and also, the content HTML document of that document does not have meta tag for the keywords.
    How can I solve the problem??

    Hello,
    You need to firstly request the developer API documentation from RWD to determine their methodology for fastpath naming as well as the ability to further customize the application.
    In order to allow RWD to run successfully from the portal the following prerequisites exist though:
    1.) The jscript needs to be implemented within the portal to allow for the RWD help context to be available from within the portal.
    2.) The fastpath/help address needs to be the same on both systems (Portal and RWD Helpsite). I have found that often the help generation and portal are managed by different teams and therefore these are often not in sync.
    3.) The help enablement needs to be made within the iviews. The prerequisite is to enable the property attributes of the iview to have help, show tray, display name in tray all enabled per iview in order to be able to launch the RWD context help per iview.
    Once you have achieved this it is important to align the two repositories to ensure that the help site fastpath is aligned to the portal when launched. This needs to be enforced and managed between both teams should your enterprise have a segregation of duties between these applications.

  • Problem with searching for 'empty' emails with BAPI_BUPA_SEARCH

    Dear ABAP'ers.
    I have got a small problem with BAPI_BUPA_SEARCH.
    I Use this BAPI to search for Business Partners with the Email condition.
    I put rhe Email to lv_email variable, it works ok.
        lv_email = ' '
        CALL FUNCTION 'BAPI_BUPA_SEARCH'
          EXPORTING
            email = lv_email
          TABLES
            searchresult = lt_searchresult   <= returns no BuPas
            return       = ls_bapiret2  .
    But I need to have a possibility to search for such Business Partners who have got no email address. Unfortunatellu when I pass an empty lv_email to BAPI, it returns no Business Partners whilst such BuPas exist in database.
    Is there some possibility to search for those BuPas who have got no email address assigned?
    I will be thankful for help.
    Regards,
    P.

    Can you query ADR6 table where SMTP_ADDR = space.
    and pick the PERSNUMBER or ADDRNUMBER and pick the Patners related to that ..

  • Problem with search forms in master-detail structure

    According to JHeadstart error message i cant generate 2 search forms in one page, BUT i generated master table in one page and master form + detail table in another so WHY i cant put search forms for both tables?? They are on the different pages!
    How can i solve this problem?

    Sasha,
    The reason this is not allowed, is because when you use Layout Style table-form, the same UImodel is used for both the table and the form page, and each UImodel can have only one advancedSearch binding (which is also used for quick search). Each advancedSearch binding can be linked to only one iterator, and that is either the iterator of the master table or the iterator of the detail table.
    An enhancement request to remove this limitation is high on our wish-list, but didn't make it in the 10.1.2.1 release.
    You could try to make post-gen modifications to add an extra search. I have not tried it, but here is what I would do:
    - generate with search for master, and backup the generated pages and ui model
    - generate with search for detail, and backup the generated pages and ui model
    - merge the pages and ui models, renaming one of the advancedSearch bindings
    - for the page where the renamed binding should be use, make a subclass of JhsDataAction and override onQuickSearch and/or onAdvancedSearch, to use the other binding name
    Hope this helps,
    Sandra Muller
    JHeadstart Team
    Oracle Consulting

  • Problems with BPEL API calling a BPEL workflow

    Hallo,
    i have copied my text from the Application-Server forum to this forum becouse here it is a better place for my problem.
    I have a problem with the BPEL API. I try to invoke a BPEL workflow with the BPEL API. Up to the Point where i call the BPEL workflow with the command "deliveryService.post(processName, action, nm);".
    When this command is processed i following error:
    java.lang.NoClassDefFoundError: javax/ejb/EJBException
    It looks like i am missing a jar file, but in my Development tool an at the compilation i get no errors or warnings. Only when command above is called.
    The initialization of the deliveryService works fine.
    The only point i can image an error is at the definition of the jndi for the remote connection to BPEL. There i have following entry's:
    jndiProviderUrl = "http:ormi://server:port:instance/orabpel";
    jndiFactory = "oracle.j2ee.rmi.RMIInitialContextFactory";
    jndiUsername = "xxx";
    jndiPassword = "yyy";
    I get folowing errror message:
    java.lang.NoClassDefFoundError: javax/ejb/EJBException
    at com.oracle.bpel.client.util.ExceptionUtils.handleServerException(ExceptionUtils.java:76)
    at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:254)
    at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:174)
    at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:149)
    Please can someone tell me what i am doing wrong?
    BS
    PS: i used following tutorial to create my code for calling BPEL:
    http://www.oracle.com/technology/products/ias/bpel/pdf/orabpel-Tutorial7-InvokingBPELProcesses.pdf

    got some steps more ... but now i havent any clue. Out of this message i think my ProviderURL is wrong. but i try this both and got always the same error message.
    jndiProviderUrl = "opnm:ormi://amy:6003/orabpel"
    jndiProviderUrl = "opnm:ormi://amy:6003:oc4j_soa/orabpel"
    java.lang.Exception: Erstellen von "ejb/collaxa/system/DeliveryBean"-Bean nicht erfolgreich. Es wurde folgende Exception gemeldet: "javax.naming.NamingException: Invalid provider URL
         at com.evermind.server.rmi.RMILocation.createRMILocation(RMILocation.java:80)
         at com.evermind.server.rmi.RMILocation.createRMILocation(RMILocation.java:57)
         at com.evermind.server.rmi.RMIClient.getLocations(RMIClient.java:661)
         at com.evermind.server.rmi.RMIClient.getDomain(RMIClient.java:640)
         at com.evermind.server.rmi.RMIClient.getContext(RMIClient.java:534)
         at com.evermind.server.rmi.RMIInitialContext.get(RMIInitialContext.java:44)
         at oracle.j2ee.rmi.RMIInitialContextFactory.getInitialContext(RMIInitialContextFactory.java:45)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
         at javax.naming.InitialContext.init(InitialContext.java:223)
         at javax.naming.InitialContext.<init>(InitialContext.java:197)
         at com.oracle.bpel.client.util.BeanRegistry.lookupDeliveryBean(BeanRegistry.java:277)
         at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:250)
         at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:174)
         at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:149)
    Please can someone help me?
    What is wrong wis my ProviderURL?
    BS

  • Problem with adobe api for LC

    Hello to all,
    I'm trying to write code that retrive a file from registry but I ALWAYS get the following error:
    root cause
    java.lang.NoClassDefFoundError: com/adobe/ebxml/registry/services/query/filter/Clause
    java.lang.Class.getDeclaredConstructors0(Native Method)
    java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
    java.lang.Class.getConstructor0(Class.java:1930)
    java.lang.Class.newInstance0(Class.java:278)
    java.lang.Class.newInstance(Class.java:261)
    org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.ja va:72)
    org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:275 )
    org.jboss.web.tomcat.tc5.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java: 78)
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11P rotocol.java:705)
    org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
    org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
    java.lang.Thread.run(Thread.java:534)
    What about this?
    I'm using Eclipse 3.1 (adobe has advised to me) and jboss 3.2.
    I'm very very tyred to see this error :-(((
    Any help?
    Thank you!!!!!
    I'm goind to became crazy.. ;-P
    Sorry for my poor english.
    Roberto.

    Ok, I have discarded eclipse :-) now I use Netbeans 5.0 and I don't see that error any more.
    By thw way I have some problems with adobe-registry-api.jar;
    Do anyone use this API write programs that use liveCycle registry?
    I would like get the document from registry, the version of them, and so on.
    I found some example from adobe, but also these examples have problem with data type, classes and so on.
    Every problem leads back to adobe-registry-api.jar and whichever other class is correctly used from Netbeans.
    Someone have any idea or suggestion?
    Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you! :-)
    Bye,
    Roberto.

  • Problem with search method in AM called from JSP

    Hi, im trying to get the real value from an foreign key of a view, and i have been created a custom search method in the AM, but i got a problem, the search only get results the first time that is called, the next times gets null result :
    public String getValorReal(Long identificador, String vista,
    String campoFiltro, String campoValor)
    where identificador is the foreign key, vista is the name of the view that contains the real value of the foreign key, campoFiltro is the field name of the view that will match the foreign key, and campoValor is the field name of the view that the search method will return as the real value.
    I created this class that call the search method :
    public class CuentasContablesOrgLOV {
    private BindingContainer bindings;
    public Map CuentaContable= new HashMap(){
    public Object get(Object key){
    Map parametros;
    BindingContainer bindings = getBindings();
    String result = null;
    OperationBinding operationBinding = bindings.
    getOperationBinding("getValorReal");
    if (operationBinding != null){
    parametros = operationBinding.getParamsMap();
    parametros.put("identificador",new Long(key.toString()));
    parametros.put("vista","CcCuentasContablesView4");
    parametros.put("campoFiltro","identificador");
    parametros.put("campoValor","CuentaContable");
    result = (String)operationBinding.execute();
    return result;
    public Map getCuentaContable() {
    return CuentaContable;
    I invoke this class from the JSP with EL:
    <af:outputText value='#{CuentasContablesOrgLOV.cuentaContable[row.CcCucoIdentificador]}'/>
    In the AM method obtains all the parameters correct, but the search only works the first time!
    Do you have an idea whats been happened?
    thanks a lot for your help

    There is no <%@ method %> tag for a JSP.
    http://java.sun.com/products/jsp/syntax/1.2/syntaxref12.html
    It looks like you are trying to write a JSP that only accepts post requests - not get?
    I'm not sure if you can accomplish that in a JSP directly.
    You can with an HttpServlet (which is where the doGet/doPost methods are defined) but HttpJspPage doesn't extend that class necessarily.
    Best you could probably do is put in a test of request.getMethod() to see if it is get/post.

  • 11.0.1(12) slow to load songs, other problems with search

    This latest version of iTunes ...
    I have several problems when I do a search. I have enabled view of the Sidebar. I highlight Music from the Sidebar, then search for a band, for example. When I double-click a song it often takes several seconds to start playing a song when I double click it. The old version wasnt' like that.
    Additionally, I have difficulty actually finding things with search that I know are there. For example, if I select Music from the sidebar, then Albums on the main pane and search for a specific album title, I can only get individual songs from that album to come up. I can't get the entire album to show up so I can play it. It works with most albums but not with this one.
    I have Snow Leopard on a MacBook.

    Hi,
    Go to view menu option and select show status bar
    Jim

  • Problems with Searching documents!

    I am having a problem with the ability to search documents in the portal, everytime I run a search I get the message no results found.
    I have done the following:
    1. Create a File system Repository
    2. Created a Crawler Profile
    3. Created an Index and assigned the crawler.
    4. Wait until it had finished and said their were 13 items.
    However when I search their are none!
    What am I doing wrong?

    Hi Phil,
    1. Check for trex server status in sys Admin--> Monitoring --> KM --> Trex Monitor
    2. Check for the documents in the Folder on which you are creating index.
    3. After you create a index, modify the parameters in sys Admin--> Monitoring --> KM --> Trex Monitor --> Edit Queue Parameters.
    4. Check the Queue status in sys Admin--> Monitoring --> KM --> Trex Monitor --> Display queues. Sometimes try to flush the index.
    5. If still not working, at times re-index the index or delete and recreate the index.
    For efficient indexing see the doc
    https://websmp102.sap-ag.de/~sapidb/011000358700000378692005E.PDF
    Hope this helps,
    thanks,
    Praveen
    PS. Dont forget to reward points

  • Problems with Reflection API and intantiating an class from a string value

    I want to instantiate a class with the name from a String. I have used the reflection api so:
    static Object createObject(String className) {
    Object object = null;
    try {
    Class classDefinition = Class.forName(className);
    object = classDefinition.newInstance();
    } catch (InstantiationException e) {
    System.out.println(e);
    } catch (IllegalAccessException e) {
    System.out.println(e);
    } catch (ClassNotFoundException e) {
    System.out.println(e);
    return object;
    Let's say my class name is "Frame1".
    and then if i use:
    Frame1 frm = (Frame1) createObject("Frame1");
    everything is ok but i cannot do this because the name "Frame1" is a String variable called "name" and it doesn't work like:
    name frm = (name) createObject("Frame1");
    where i'm i mistaking?
    Thanks very much!

    i have understood what you have told me but here is a little problem
    here is how my test code looks like
    Class[] parameterTypes = new Class[] {String.class};
    Object frm = createObject("Frame1");
    Class cls = frm.getClass();
    cls.getMethod("pack",parameterTypes);
    cls.getMethod("validate",parameterTypes);
    everything works ok till now.
    usually if i would of had instantiated the "Frame1" class standardly the "cls" (or "frm" in the first question ) object would be an java.awt.Window object so now i can't use the function (proprietary):
    frame_pos_size.frame_pos_size(frm,true);
    this function requires as parameters: frame_pos_size(java.awt.Window, boolean)
    because my cls or frm objects are not java.awt.Window i really don't find any solution for my problem. I hope you have understood my problem. Please help. Thanks a lot in advance.

  • Problem with searching in weblogic 8.1 repository..

              Can anyone help me to Search in WebLogic 8.1 Content Mangement...Data base....
              we are using weblogic 8.1 content management (i.e. repositor to store the data
              of poral..)
              Now I m implementing Search in repository.. and i want to search a String e.g.
              "Forms" in this repository... how can i search in repository...
              Well, I found QueryManager and QureyRequest class in sample portal example...but
              still not understand how to use it... kindly help me to solve this problem...
              or u can suggest me alternative way to solve searching in weblogic repository...
              thanks a lot in advance.....
              waiting for some help.....
              Vijay
              

    I got the solution for this:
    Just few changes in the config file found in Weblogic 8.1 IDE
    "SIDDHARTHA " <[email protected]> wrote:
    >
    I am having a jsp which contains 4 links to portals.
    Portal is hosted on Weblogic 8.1 GA App Server.
    Request to App Server goes through our iPlanet Web Server, which is hosted
    on
    port 9077.
    The initial page from home page from App server is normal JSP (not part
    of portal)
    so it shows URLs like
    e.g.- http://hostname:9077/something...
    Now when i click on one of the 4 links whcih takes me to the respective
    portal with the port 9077 mentioned in the browser link.
    But the portlets within the portals contains links without 9077 port
    e.g. http://hostname/something...
    The hostname is the name of iPlanet Web Server
    The portal pages (view source) contains absolute address for links without
    port

Maybe you are looking for

  • Is there anyway to add a border around a PDF page

    Hello, Is there anyway to add a 1pt black border around every Page in a Acrobat Document? Thanks! babs

  • Msa 50sp6: outlook integration not possible

    Hello forum, while installing msa50sp6 with outlook integration, I do not get any buttons/tabs into my outlloók 2002. No errors while installing. (outlook is closed while installing). Is it possible to install the outlook sync. manual ? Or has anybod

  • LabVIEW jobs in Chennai

    Hi, We have 10+ positions open in a reputed firm based in Chennai for the post of LabVIEW Engineers. Candidates should have thorough knowledge in LabVIEW and C programming with 2 to 10 years work experience. Please send your resume if interested to [

  • Reconciliation of GRPO and AP Invoice

    When creating a GRPO a credit amount is processed against the Alloaction account (Goods Receipted Not Invoiced GRNI account. When an A/P invoiced is created with reference to the GRPO, the GRNI account is DEBITED . Why then, is the GRNI not automatic

  • Next level approver in ESS leave request

    hi friends Am working in ESS leave request workflow. In my scenerio there are 4 level approver. I have function module SWX_GET_MANAGER  i have copied and customized to ZSWX_GET_MANAGER with my logic to get the next level approvers. If i entered the P