My favorites | Sign in
Project Home Downloads Issues
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 6: search in wrong field
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Aug 2009


 
Reported by kam...@gmail.com, Jul 27, 2009
Primary search should be taking place in the Headword field (this may be 
called SortBy in the db).  Headword is invisible to the user, but crucial 
for the dictionary.  Compare http://kamusi.org/en/lookup/en?Word=eagle and 
a search for eagle in KD.

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.


Jul 27, 2009
Project Member #1 arthurbu...@gmail.com
The searches are selected from the Sortby fields.

query = "SELECT * FROM dict WHERE EnglishSortBy LIKE ? " +
                        "ORDER BY EnglishSortBy ASC";

or 

query = "SELECT * FROM dict WHERE SwahiliSortBy LIKE ? " +
                        "ORDER BY SwahiliSortBy ASC";
Jul 27, 2009
#2 kam...@gmail.com
That looks right, but the result isn't coming right.  If KD eagle = online eagle, then 
the search is working correctly.

There's also the issue of the orderings from the grouping tool, but we can push that 
back a little bit.
Jul 27, 2009
Project Member #3 arthurbu...@gmail.com
Ok, but also note that am using a db that has a timestamp of April 2008. There could
have been changes since then, no?
Aug 22, 2009
Project Member #4 arthurbu...@gmail.com
Fixed
Status: Fixed

Powered by Google Project Hosting