Query Operator "IS" is not working good for object type "String"

Hi,
I have a problem with advanced search. When the object type is String, and I want to search directly value (for exemple 'a') i have returned all value starts with 'a', even though I set Query Operator to "IS"
When I use Query operator "setByUser", and then set property to "IS", query behaviour is correct.
Behaviour example for operator "IS":
values: a, ab, abc
searching: 'a' --> expected results: a results: a, ab, abc
Any sugestions??
Sorry for my English
Regards,
Wojciech Mularczyk

Syed,
Only under advanced search. The operator used for quick search is defined through two properties in JhsAdvancedSearch bean class:
private String defaultStringOperator = "startsWith";
private String defaultNonStringOperator = "is";
So, if you have a String attribute which holds numbers and you want to apply the "is" operator to this attribute, you can change the default value of "defaultStringOperator" by creating a custom template for searchBean.vm, and add the following property:
<managed-property>
<property-name>defaultStringOperator </property-name>
<value>is</value>
</managed-property>
Note hat you can already apply this technique in the current release.
Steven Davelaar,
JHeadstart Team.

Similar Messages

  • I have a iMac running on an iMac and the F operation keys are not working properly.

    My new iMac bluetooth keyboard is having issues all of the F operation keys are not working exept for F12 witch is supposed to be volume up takes me to mission control. I went into system prefrences and there was no setting in keyboard for the volume keys there are some settings for the operation keys but they are all checked and they are still not working and the settings that are checked arn't even what the keys are supposed to do. Please help.

    SMC RESET
    http://support.apple.com/kb/HT3964
    Shut down the computer.
    Unplug the computer's power cord and ALL peripherals.
    Wait 15 seconds.
    Attach the computers power cable.
    Wait another 5 seconds and press the power button to turn on the computer.
    The 5 second timing is important to a successful reset.
    PRAM RESET
    Zap the PRAM
    Shut down the computer.
    Locate the following keys on the keyboard: Command, Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.

  • Good evening, after upgrading Iphoto 9.5 a page opened requiring to upgrade my library. As it did not work out,for fear of losing all my pictures I  loaded Iphoto 9.4.3  with Time machine but I had lost quite a few photos. As a matter of fact, after searc

    Good evening,
    after upgrading Iphoto 9.5 a page opened requiring to upgrade my library. As it did not work out,for fear of losing all my pictures I  loaded Iphoto 9.4.3  with Time machine but I had lost quite a few photos. As a matter of fact, after searching , I found them In Photo library in 'images' on my hard drive. When I double click, 9.5 appears with all my pictures. Therefore, I would like to use 9.5 just by by clicking on the icon down my finder and  not by being obliged to open my hard drive.
    Would you please tell me what I should do. Thank you.
    Best regards,
    Robert

    Huh?
    As it did not work out,for fear of losing all my pictures I  loaded Iphoto 9.4.3  with Time machine but I had lost quite a few photos. As a matter of fact, after searching , I found them In Photo library in 'images' on my hard drive. When I double click, 9.5 appears with all my pictures.
    So, you have restored 9.4.3 from Time Machine but can see all your pictures in 9.5?
    Do you have two version of iPhoto on your Machine?
    And if you didn't update the Library, ("as it did not work out,") how can you see things in 9.5?
    So, whatever set up you have is confusing.

  • I have a problem in this that i want to paas a form in a case that when user pres n then it must go to a form but error arises and not working good and threading is not responding

    made in cosmos help please need it
    using System;
    using Cosmos.Compiler.Builder;
    using System.Threading;
    using System.Windows.Forms;
    namespace IUOS
        class Program
            #region Cosmos Builder logic
            // Most users wont touch this. This will call the Cosmos Build tool
            [STAThread]
            static void Main(string[] args)
                BuildUI.Run();
            #endregion
            // Main entry point of the kernel
            public static void Init()
                var xBoot = new Cosmos.Sys.Boot();
                xBoot.Execute();
                Console.ForegroundColor = ConsoleColor.DarkBlue;
                a:
                Console.WriteLine("------------------------------");
                Console.WriteLine("WELCOME TO THE NEWLY OS MADE BY THE STUDENTS OF IQRA UNIVERSITY!");
                Console.WriteLine("------------------------------");
                Console.WriteLine();
                Console.WriteLine();
                Console.WriteLine();
                Console.WriteLine("\t _____                                
                Console.WriteLine("\t|     |        |            |        
    |            |      |");
                Console.WriteLine("\t|     |        |            |        
    |            |      |");
                Console.WriteLine("\t|     |        |            |        
    |            |      |");
                Console.WriteLine("\t|     |        |            |        
    |            |      |___________");
                Console.WriteLine("\t|     |        |            |        
    |            |                  |");
                Console.WriteLine("\t|     |        |            |        
    |            |                  |");
                Console.WriteLine("\t|     |        |            |        
    |            |                  |");
                Console.WriteLine("\t|     |        |            |        
    |            |                  |");
                Console.WriteLine("\t|     |        |            |        
    |            |                  |");
                Console.WriteLine("\t|_____|        |____________|         |____________|      ____________");
                string input;
                Console.WriteLine();
                Console.Write("\nAbout OS     : a");
                Console.Write("\nTo Shutdown  : s");
                Console.Write("\nTo Reboot    : r");
                Console.Write("\nStart Windows Normaly : n");
                Console.WriteLine();
                input = Console.ReadLine();
                if (input == "s" || input == "S"){
                    Cosmos.Sys.Deboot.ShutDown();
                else
                if (input == "r" || input == "R"){
                    Cosmos.Sys.Deboot.Reboot();
                else
                if (input == "a" || input == "A"){
                    Console.ForegroundColor = ConsoleColor.DarkBlue;
                    Console.Clear();
                    Console.WriteLine("\n\n\n-------------------------------------");
                    Console.WriteLine("version: DISPLAYS OS VERSION");
                    Console.WriteLine("about: DISPLAYS INFO ABOUT ANGRY OS");
                    Console.WriteLine("hello or hi: DISPLAYS A HELLO WORLD");
                    Console.WriteLine("MESSAGE THAT WAS USED TO TEST THIS OS!!");
                    Console.WriteLine("-----------------------------------");
                    Console.Write("You Want to know : ");
                    input = Console.ReadLine();
                    if (input == "version"){
                        Console.WriteLine("--------------------");
                        Console.WriteLine("OS VERSION 0.1");
                        Console.WriteLine("--------------------");
                    else
                    if (input == "about"){
                        Console.WriteLine("--------------------------------------------");
                        Console.WriteLine("OS IS DEVELOPED BY Qazi Jalil-ur-Rahman & Syed Akber Abbas Jafri");
                        Console.WriteLine("--------------------------------------------");
                    Console.Write("Want to go back to the main window");
                    Console.Write("\nYes : ");
                    string ans = Console.ReadLine();
                    if (ans == "y" || ans == "Y")
                        goto a;
                        Thread.Sleep(10000);
                    else
                    if (input == "n" || input == "N")
                        Thread.Sleep(5000);
                        Console.Clear();
                        for (int i = 0; i <= 0; i++){
                            Console.Write("\n\n\n\n\t\t\t\t\t  ____        ____   ___  
                            Console.Write("\n\t\t|\t\t |  |      |    |     
    |   |  | |  |  |");
                            Console.Write("\n\t\t|\t|    |  |----  |    |     
    |   |  | |  |  |---");
                            Console.Write("\n\t\t|____|____|  |____  |___ |____  |___|  |    |  |___");
                            Thread.Sleep(500);
                        Thread.Sleep(5000);
                        Console.Clear();
                        BootUserInterface();
                        Console.ReadLine();
    //                    Form1 fo = new Form1();
                    else{
                        for (int i = 0; i <= 5; i++){
                            Console.Beep();
                            Thread.Sleep(1000);
                            goto a;
                while (true);
            private static void BootUserInterface() {
                Thread t = new Thread(UserInterfaceThread);
                t.IsBackground = true;
                t.SetApartmentState(ApartmentState.STA);
                t.Start();
            private static void UserInterfaceThread(object arg) {
                Form1 frm = new Form1();  // use your own
                Application.Run(frm);
     

    Hi
    Jalil Cracker,
    >>when user pres n then it must go to a form but error arises and not working good and threading is not respondin
    Could you post the error information? And which line caused this error?
    If you want to show Form1, you can use form.show() method
    Form1 frm = new Form1();
    frm.Show();
    In addition, Cosmos is an acronym for C# Open Source Managed Operating System. This is not Microsoft product.If the issue is related to Cosmos, it would be out of our support. Thanks for your understanding. And you need raise an issue at Cosmos site.
    Best regards,
    kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • HT6001 the version 11.1.4 of iTunes not working good because it's not recognizing my iPhone and I can't do anything.

    the version 11.1.4 of iTunes not working good because it's not recognizing my iPhone and I can't do anything.

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features(Later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (If this won't uninstall press on)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    See also HT1925: Removing and Reinstalling iTunes for Windows XP or HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    Should you get the error iTunes.exe - Entry Point Not Found after the above reinstall then copy QTMovieWin.dll from:
    C:\Program Files (x86)\Common Files\Apple\Apple Application Support
    and paste into:
    C:\Program Files (x86)\iTunes
    The above paths would be for a 64-bit machine. Hopefully the same fix with the " (x86)" omitted would work on 32-bit systems with the same error.

  • Is there any official market or store or anything in Egypt to fix my iphone 4 it jumped from 5th floor and the back hous was crashed and the network sensor was not working good but the phone and the screen and the others things are ok so plz help ???

    Is there any official market or store or anything in Egypt to fix my iphone 4 it jumped from 5th floor and the back hous was crashed and the network sensor was not working good but the phone and the screen and the others things are ok so plz help ???
    my iphone is now just coverd with case and the back house is crased

    Etisalat, Mobinil and Vodafone provide warranty service in your country.  You can also search Google for a 3rd party repair shop near you.

  • Hi , i bought this phone from Dallas , TX  on 22 jun 2012 , right now I am in india . My phone Accidentally fall in water tub. And now is not working . For iphone replacement ,I went to local apple store in Pune (India). but these guys are not helping me

    hi , i bought this phone from Dallas , TX  on 22 jun 2012 , right now I am in india .
    My phone Accidentally fall in water tub. And now is not working .
    For iphone replacement ,I went to local apple store in Pune (India). but these guys are not helping me . And they  are not ready to replace my phone .
    I also tried contacting local apple employee  named " RATI KALE " , but didn’t got any positive response.
    I provided them apple invoice, passport, visa details, my air ticket details. but still  they are not ready to help me . My phone details are as below :
    Serial No:C8*******T9Y , IMEI : 01*************995
      Please help me in replacing my phone.
    <Personal Information Edited by Host>

    Your warranty is only good in the US where you bought the phone. You will need to contact Apple Support in the US to arrange to return your phone to the US for repair. You should also inquire as to whether they will be able to return the phone to you in India.
    Apple Store Customer Service at 1-800-676-2775 or visit online Help for more information.
    To contact product and tech support: Apple - Support - Contact Apple Support.

  • I need a reliable office suite.   Open Office is not working well for me.  Any suggestions?

    I need a good reliable office suite.  Open Office is not working well for me.  Any suggestions?

    If you mean Open Office is not always able to correctly open documents received from clients created with MS Office, then the only real solution is to purchase Office 2011 for Mac. As good as some of the free alternatives are, they can't duplicate every feature of MS Office.

  • Webi report on OLAP Bex query -  Cost element Hierarchy not working Drill down

    Hello,
    We have a BO report on Bex query, Not on universe, we have a Hierarchy for Cost Element Group, and we are expecting the Drill down functionality for that in BO report, but it does not.
    Webi report on OLAP Bex query -  Cost element Hierarchy not working Drill down
    Any pointers how to do it please
    Thanks
    Krishna

    Hi,
    WebI reports on BEx source don't use same Drill feature as other sources, it's replaced by expland/collapse of hierarchy nodes (documented in WebI user guide in § "24.1 Drill defined"). This means you have to create query which selects all hierarchy sub-tree you plan on exploring later in report, otherwise if no data is available under a node there will be no '+/-' sign to visit this part of tree.
    You could try first to select "All members" from hierarchy in QueryPanel and see if behavior in report suits your needs. Then you should restrict hierarchy member selection to what's really needed to avoid performance issues.
    Regards,
    Loic

  • Hi the wifi when make update not works good

    hi
    the wifi when make update not working good
    now i cannot turn on wifi the wifi button
    can you help me please ????

    Hello Riham123,
    Thank you for using Apple Support Communities.
    It sounds like the wifi button is grayed out and you are unable to toggle it.
    I recommend trying the steps in this article:
    iOS: Wi-Fi settings grayed out or dim
    http://support.apple.com/kb/ts1559
    Verify that airplane mode is off by tapping Settings > Airplane Mode.
    Reset the network settings by tapping Settings > General > Reset > Reset Network Settings.
    Note: This will reset all network settings, including Bluetooth pairing records, Wi-Fi passwords, VPN, and APN settings.
    Ensure that your device is using the latest software. To do so, connect your device to your computer and check for updates in iTunes.
    If your issue is still unresolved, perform a software restore in iTunes.
    All the best,
    Sterling

  • Sorting not working correctly for date field in alv report

    Hi All,
    My report displays many rows also containing date type fields of bldat,budat .
    When I sort the report selecting field of type bldat budat the sorting is not correct for the year.
    Ex:
    Invoice doc dat
    01-25-2011
    01-21-2011
    02-02-2011
    10-25-2010
    11-20-2010
    If I use ascending then it is sorted as :
    Invoice doc dat
    01-21-2011
    01-25-2011
    02-02-2011
    10-20-2010
    10-25-2010
    Why the sorting is not working correct for year.(2010 records should have been first).
    The field wa_tab-bldat is of type char10.
    It is populated as wa_tab-bldat = bsak-bldat.
    Kindly suggest what can be done.

    The field wa_tab-bldat is of type char10
    Then what it does is correct.
    Refer to type datum...it will work

  • Request to post Icloud not working locations. for 2 days almost from Ventura CA. I think they are not being truthful about th eamount of folks affected!

    request to post Icloud not working locations. for 2 days almost from Ventura CA. I think they are not being truthful about the percentage of folks affected!
    and what's with the minimalist response? We're working on it for 2 days? You can do beter than that for exsisting loyal customers can't you?

    I just spoke to a Support person with Apple.  I got the same answer, "We Don't Know", "but they are working on it...Blah, Blah.  I too live in Ventura, and have been without email since yesterday approx. 3:00 pm.
    The guy said, it's the same if you brought your computer into the shop.  We have to determine if it's hardware, or software, then fix the problem.
    Well, What about a BACK UP SERVER?  No real answer to that one.  Just, "Thanks, for your Patience."
    This really blows!!!

  • My i phone is not working good

    hi.my iphone is not working good. sometimes the buttons not works....

    Can you be a little more specific? that isn't much to go on.

  • ZSAPLINK for Object type = CLAS is not working

    Dear Experts,
    ZSAPLINK for Object type = CLAS is not working. On executing by selecting Export Object to Slinkee with Object type = CLAS and class name, It is giving the dump which is shown in below snapshots. Pls guide me how to resolve this error.
    Thanks
    KH

    From the screenshot, It seems that the object  _renderer did not point to any memory location.
    You can verify this by putting a breakpoint in method IF_IXML~CREATE_RENDERER of class CL_IXML
    If the return value RVAL is initial, this mean there something wrong with the kernel module abkm_iXML_CreateRenderer. If it is, you will have to check with your Basis team to apply some kernel patches.
    Hope it helps. Cheers!

  • Keyboard is not working good, when i "click" space it appears number "6" instead

    from my macbook pro- the keyboard is not working good, when i "click" space it appears number "6" instead.
    Any idea what is wrong here?
    I do not hace a Apple store close to me.

    Firefox 3.6 requires at least OS X 10.4, the last version that works on OS X 10.2.8 is Firefox 2.0.0.20 available from ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/2.0.0.20/mac/en-US/

Maybe you are looking for

  • Some Songs Won't Play on the iPod

    I have a bizarre problem. All of my songs that are on my iPod are in iTunes (How else would they get on my iPod xP) and they all work fine. In general, the songs on my iPod work/play fine, minus a few. When I go to play them, the load up, I see every

  • Filter failed

    Have an HP photosmart 7700 series printer.....trying to hook it up to new MAC...with latest OS x 10.8.... printer shows up, but when I go to print I get stopped "filter" failed error message.  Please help!

  • Mac OS X Calendar Reminders Multiplier

    I have a daily event in google calendar, which is also in mac calendar and in the iphone calendar, the event has only one reminder 5 minutes before the event, but after some time the reminder began to multiple itself and after a few days I have list

  • HT4436 Confused about the purpose of ICloud

    I think i misunderstood the use of ICloud. I thought it provided additional storage so that if the storage space in my phone filled up I could use the storage I purchased in ICloud. Is this incorrect? Also, my phone has a 4GB SIM card installed, why

  • Mail messages do not open with double click

    Worked before, but lately Mail does not open my messages from the inbox with a double click.  Have to use the menu to open a message or read in preview pane. Have checked for upgrades and reindexed the messages. Mac OS 10.6.8