Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 832717
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T04:24:19+00:00 2026-05-15T04:24:19+00:00

My application is using a search function, sometimes the search may return a result

  • 0

My application is using a search function, sometimes the search may return a result set with thousands of items, therefore I am using lazy loading and only retrieving the primary keys.

The problem is that my application is localized, and I need to sort this primary keys alphabetically using another column in the table that has a name that is later localized in code (using the typical key-value pairs .properties file), this sorting varies depending on the Locale.

I know one solution would be to have another table, that basically contains exactly what my .properties file that I use for localization has. But this seems like an extreme solution, is there any other way I can achieve this?. Thank you in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T04:24:20+00:00Added an answer on May 15, 2026 at 4:24 am

    No, not really.

    You are basically saying “retrieve primary keys from database, use .properties file to simulate another database, sort in application”, correct? The database doesn’t really come into the equation here after step 1.

    The solution you are proposing (import .properties file into a table, sort there) actually sounds quite reasonable from the data you gave. How often do these .properties files change? Could you automate the process? (e.g. re-import the changed files)

    Also, the database is good at sorting and filtering large amounts of data; doing this in a different layer will be, in 90% of cases, less efficient – reinventing the database-wheel outside the database is rather painful in the long run.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm building a windows application that search items from sharepoint document libraries, using the
I'm using lazy loading images based on this question . I'm implementing a search
I developp a Java application using Windows Desktop Search from which I can retrieve
I have a small application in java which searches images using bing image search.
In my web application, I display the search results using XSLT. There are some
In my iOS5 iPhone application, i'm setting the tint color of search bar using
I am having difficulty coaxing the Help → Search function of my application to
I want to include highlighting feature in my search application using solr. I did
I am using Full Text Search with LINQ in my application and as this
I have a web application with lots of data, and a search/filter function with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.