How can I change then locale of the sample search application?

I have successfully installed Ultra Search.
But the sample search page(http://localhost:7777/ultrasearch/query/usearch.jsp)
is in English. And the query result wasn't correct when I input a Chinses word.
I founed usearch.jsp was hard-coded to Locale.USBI must Change it into Simplified Chinese. What should I do?
Thanx.

in usearch.jsp, q_locale and q_docLocale are different.
q_locale is the language of the query string typed by the user.
q_docLocale is the language of the documents being searched.
So if your q_locale is Locale.CHINA, but q_docLocale is Locale.ENGLISH,
you might not find anything.
When it is not clear, you can pass null for q_docLocale, then all documents
will be searched.

Similar Messages

  • I signed up for my apple account while living in Canada, and now I lives in the US. I am looking for a specific app that apparently is only available through the US app store. How can I change my account to the US Apple Store?

    I signed up for my apple account while living in Canada, and now I lives in the US. I am looking for a specific app that apparently is only available through the US app store. How can I change my account to the US Apple Store?

    As long as you have a form of payment (credit or debit card) with a USA source, and with a billing address in the USA, then you just need to change your payment information on your account to that, change your country in the store settings, and you will then be able to shop in the USA store.
    Your AppleID will work in any country's store, as long as your payment source and billing addres are also specific to that country (and you are in that country as well, as there may be IP filters in place to stop use outside of the country).

  • How can I change my visa on the apple account

    How can I change my visa on the apple account

    A number of ways to do this, but on the iPad:
    Open the iTunes app ans select any of the product categories at the bottom (music, for example).
    Scroll down and then tap on the button with your AppleID
    Tap View ID
    Login
    Select Payment information and edit the info, then save

  • All photos in portrait format are displayed blurred in the preview mode "fill" of the library. In all other modes e.g. "fit"or "1:2" the photos are sharp. How can I change this, so that the photos are still sharp when displaying them in the mode "fill"?

    All photos in portrait format are displayed blurred in the preview mode "fill" of the library. In all other modes e.g. "fit"or "1:2" the photos are sharp. How can I change this, so that the photos are still sharp when displaying them in the mode "fill"? My Lightroom release is 5.7.1.
    Thanking you in anticipation!

    I'd like to get all these '-1 suffix' files together with their associated Develop adjustments into one folder (if they aren't already) so I can see them in Grid view in the Library module, which I use as my basic starting point for everything else at this early stage of my Lightroom 'career'.
    To see what folder these are stored in, right-click on a photo and select "Go to Folder in Library".
    Advice: if you are going to use Lightroom effectively, you probably want to stop using folders as your method to create a grouping of photos that are already in Lightroom; there are plenty of built-in tools, such as keywords, collections, color labels, etc.
    I don't understand why the search on the entire catalog picked up apparently the same two file versions but also got the Develop adjustments when going to the relevant Folder didn't show the adjustment black squares against each image in Grid view nor were they there when the images were opened in the Develop module.  Perhaps if I understood this, I'd be a bit more confident of moving forward myself.
    These are most likely different versions of the same photo, in different folders. Lightroom stores the edits in its own catalog, and so it knows that one folder's photos have edits, and the other folder's photos do not have edits. Please understand that Lightroom is a database, it knows where the photos are at the time you import them (or add them to the catalog by synchronize), and then if you move things around in your operating system, Lightroom does not know anything about that and problems begin. Thus the advice to organize using Lightroom tools and methods and not operating system tools and methods.

  • I bought the HD season version of breaking bad, however I only need the regular @ 19.95. How can I change this and get the difference refunded?

    bought the HD season version of breaking bad, however I only need the regular @ 19.95. How can I change this and get the difference refunded?

    When you purchase an HD video on a supported device or computer, only HD video will be downloaded. To download the SD version, you need to download the video again from your Purchased page. Conversely, if you purchase an HD video on an unsupported device, the SD version will be downloaded. Then, you will need to download the HD version from your Purchased page. Learn more about downloading previous purchases."
    iTunes: Purchasing and viewing HD videos

  • How can I change one section of the document to a landscape orientation and not the whole document?

    How can I change one section of the document to a landscape orientation and not the whole document?

    Page Setup, including page orientation, is done in the File menu. The setting applies to the whole document. As Peter says, you can rotate the contents of a page (not including the text layer of a word processing document).
    As an alternative, you could use Numbers, where Sheets are empty canvases onto which you may place images, charts, tables and text boxes, and where page orientation may be set for individual Sheets. The main tradeoff is that you lose many of the built-in word processing and page layout features of Pages.
    Regards,
    Barry

  • My Apple ID and rescue email are reversed. How can I change them both at the same time

    My Apple ID and rescue email are reversed. How can I change them both at the same time?

    I'd already used this standard tool (exhaustively!), but for the problem encountered it operated in Catch 22 mode - you had to do two things but neither order was permitted. I did find an answer eventually, but am not sure what it was I did that solved it! Thanks, anyway.

  • HT1677 iOS 7 for iPad the bookmarks tab is now on the top right hand side how can I change this back to the top left hand side as in the previous versions?

    iOS 7 for iPad the bookmarks tab is now on the top right hand side how can I change this back to the top left hand side as in the previous versions? Thanks

    Sorry but you can't

  • IPAD ID: I have changed my ID (mail) and now I can updated my apllications in the ipad because still appears my first ID... How can I change my ID in the IPAD????

    I have changed my ID (mail) and now I can updated my apllications in the ipad because still appears my first ID... How can I change my ID in the IPAD????

    Apple ID (your e-mail address) that was used to purchase apps are forever tied to that Apple ID for updates.
    Apple ID cannot be merged or transferred to another Apple ID.
    You can change the e-mail address associated with the Apple ID below:
    https://appleid.apple.com

  • How can we add additional fields to the BP Search RESULT screen?

    Dear Experts,
    How can we add additional fields to the BP Search RESULT screen so that the BP's being displayed in a search result show maintained values for the particular column/field?
    Thanks!!!

    Hi Laxman,
                           I got same requirement for ibase hierarchy.I want to add new fields in Ibase hierarchy AB.Do you have any idea regarding this.My requirement is that ,i want to dispaly a fields as a check box which display that this component is in under warranty or not by checking the box.Plz tell ,how can i add a new field in tree type context node.I add a new fields using AET ,but that is not available in that AB.
    Thanks
    Vishwas Sahu
    Edited by: vishwas sahu on Nov 17, 2009 1:51 PM
    Edited by: vishwas sahu on Nov 18, 2009 5:22 AM

  • How can I change my email on the cloud if that email no longer exists

    How can I change my email on my iCloud if the old email no longer exists

    Go to https//appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Tap edit next to the primary email account, tap Edit, change it back to your old email address and save the change (you don't need to verify the address).  Then edit the name of the account to change it back to your old email address.  Then go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud), and use your current password to turn off Find My iPhone on your device, even though it prompts you for the password for your old account ID.   Next, go back to https//appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • My wife collected my online ordered iphone 6 when i was away and she entered a wrong email address as the Apple ID .How can i change it now since the IClould pops up asking for password and i can't provide it so could not even delet it .Helps !

    A wrong email address was entered at the setting up of the new iphone 6 and how can I change it ?

    The problem is she entered an email address she thought might be mine ,but actually used by someone else .She said no password was set up .My understanding is an email must have been sent to that address and he or she can set up the password and download .And now I set up an new ID under the ICloud but still the wrong email address still appear as a default one .I tried to delete the set up but I was asked for the password which we don't have .
    Any good idea ?

  • How can I change my APN if the phone carrier block the setting in iphone

    I am using Iphone 4s   IOS 7
    Carrier is Optus woolworth plan
    The carrier block the tethering function, also they block the APN setting in iphone.
    I am wondering how can I change the APN by myfelf?
    THanks!

    So, you come to an Apple owned/run forum to ask how to skirt carrier restrictions.
    Good luck with that.

  • How can I change my URL in the iTunes store

    I recently got approved by iTunes but have since changed the URL. How can I notify iTunes of this and get it changed as quickly as possible...thanx

    You must add the itunes redirect tag within the <channel> element of your feed. Its doubtful that a 3rd party app would support this tag, but its possible. If you have access to the actual xml file, you can add the redirect feed manually using any text editor.
    <itunes:new-feed-url>http://yournewdomain.com/podcast.xml</itunes:new-feed-url>
    The itunes redirect tag simply tells iTunes users where your podcast has been moved to, and updates their local settings accordingly. The next time they visit your podcast, they will go directly to your new feed specified in the redirect tag.
    For non-iTunes users, the itunes redirect tag doesn't help. Thats where the 301 redirect comes in, however it is a bit complicated depending on the type of host your podcast is on. If you don't want to tackle the 301 redirect, keep reading.
    One method of updating non-iTunes users...if you can still post an episode to your old feed, then one option is to post a text file that directs people to your new feed. You could also post a brief audio clip stating the same thing. Leave this episode up for a couple of weeks and then kill your old feed.
    <item>
    <title>PODCAST UPDATE: Please Read!</title>
    <link>http://yournewdomain.com/newfeed.txt</link>
    <enclosure url='http://yournewdomain.com/newfeed.txt' type='text/plain' />
    </item>

  • How can I change hour local language to AM or PM only?

    I set Locale to th_TH and I use SimpleDataFormat class like this 'yyyymmdd hh a' then field 'a' return local language but I want to return AM or PM only.
    I know that it can set new value in i18n.jar (LocalElement_th.class) but I don't want to recompile i18n.jar.How can I solve it.?
    thank you

    Hi,
    I never used this class but try to set a different locale for the object of this class (eg. in the constructor). Or does this affect the time, too?
    Or use a specific DateFormatSymbols object!?
    Greets
    Puce

Maybe you are looking for