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 8030213
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T00:41:40+00:00 2026-06-05T00:41:40+00:00

Result-Sorting Fulltext on AppEngine Java on a Date Field. How to? using SDK 1.6.6

  • 0

Result-Sorting Fulltext on AppEngine Java on a Date Field. How to? using SDK 1.6.6 deployed. (all this works on local machine but not when deployed)

ERROR: g-(IndexImpl.java:277)com.google.appengine.api.search.IndexImpl$3.wrap> null

  1. No results using this: sorting by date with defaultvalue “2000-01-01”

    SortOptions sortOptions = SortOptions.newBuilder().addSortExpression(SortExpression.newBuilder().setExpression(“date”).setDirection(SortExpression.SortDirection.DESCENDING).setDefaultValue(“2000-01-01”)).set`Limit(limit).build();

  2. No results using this: sorting by date with defaultvalue “”

    SortOptions sortOptions = SortOptions.newBuilder().addSortExpression(SortExpression.newBuilder().setExpression(“date”).setDirection(SortExpression.SortDirection.DESCENDING).setDefaultValue(“”)).setLimit(limit).build();

  3. YES– results using this: sorting by subject

    SortOptions sortOptions = SortOptions.newBuilder().addSortExpression(SortExpression.newBuilder().setExpression(“subject”).setDirection(SortExpression.SortDirection.DESCENDING).setDefaultValue(“”)).setLimit(limit).build();

  • 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-06-05T00:41:43+00:00Added an answer on June 5, 2026 at 12:41 am

    If you use .setDefaultValueNumeric() in a date field sort expression, this should work, e.g. .setDefaultValueNumeric(0.0) .

    This is a workaround– there should be a ‘set default value’ method for sorting on date fields, in addition to the existing methods for string and number fields. An internal issue has been filed to add this to the API.

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

Sidebar

Related Questions

in this sample the sorting of the grid works well with the first column.
I recently added a sorting field and now I want to sort the result.
I'm having problem with sorting my query results by the count field. My simplified
... // result is a JSON data passed to this function from outside var
I'm using FULLTEXT natural language search, and I notice that it automatically sorts my
I'm using a jQuery plugin called Tablesorter to do client-side sorting of a log
My application is using a search function, sometimes the search may return a result
I found very confusing when sorting a text file. Different algorithm/application produces different result,
I want to do server side sorting of a related table using MvcContrib Grid
I need some advice when it comes to solving a sorting algorithm. This particular

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.