My favorites | Sign in
Project Logo
Project hosting will be READ-ONLY Wednesday at 8am PST due to brief network maintenance.
                
New issue | Search
for
| Advanced search | Search tips
Issue 174: Feature Request: sort search results by date / number of kicks etc
3 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  diamondz1975
Closed:  Jan 2009
Type-Enhancement
Priority-Medium


Sign in to add a comment
 
Reported by christian.benien, Nov 29, 2007
I tried to find a specific story about "Silverlight" that I remembered
reading on DotNetKicks, but I couldn't filter the search results. 

I would like to be able to sort them at least by date, and possibly by
number of kicks
Comment 1 by yesthatmcgurk, Dec 01, 2007
(No comment was entered for this change.)
Labels: -Type-Defect Type-Enhancement
Comment 2 by diamondz1975, Dec 03, 2007
(No comment was entered for this change.)
Owner: diamondz1975
Comment 3 by DustinBrand, Jan 18, 2008
I was thinking of this exact feature today and dugg into the lucene dnk source;
shouldn't be too hard.  On a similar thought, I was thinking it might be a nice
feature to use search with rank combined.  In other words, the most kicks of that
search are record 1, the least kicks become record n.  This would add a lot to search
I think, and shouldn't be hard to reorder the search results to do this.  Any
thoughts or work being done on this currently?  Thanks.
Comment 4 by diamondz1975, Jan 19, 2008
I've got this feature in progress at the moment...sorry i havent updated the status
on the item, i'll set this to in progress now.
At the moment i've implemented the following sorting
1. relevance (currently the default and how it works at the moment)
2. no. of kicks descending
3. no. of kicks ascending
4. submission date descending
5. submission date ascending

I need to implement logic to version the lucene search index since the sorting adds
additional fields to the index, which means that a full index rebuild is require. I
also need to implement the ability to change the sorting order in the web ui.
Status: Started
Comment 5 by DustinBrand, Jan 19, 2008
Sounds awesome.  Did you use an IComparer on the stories array to .Sort() or did you
use another method?  Can't wait to see this in the latest trunk, please let me know
when you've updated it with this.  Much appreciated and good work.  Any thoughts on
moving the search from the side to the header?  I think thats a good idea and someone
else mentioned it in another issue.

I'm going to mess with moving the searchinput.ascx up to the top header (maybe far
right after "blog"), see how it looks, maybe give it some css image flare on the
bg's.  Another thought is we can show the Search in the textinput and then by adding
attributes delete it onclick into the box like a lot of sites do.  Personally I think
it takes up way too much room for a Search Input.
Comment 6 by DustinBrand, Jan 20, 2008
Mark while you are at it, you should add support to search categories only which
should address this users ability to find that silverlight article exactly.  Thanks.
Comment 7 by DustinBrand, Jan 20, 2008
I just found out you can do a query like: category:"c#" design, but it'd still be
nice to have this ability in the UI, or maybe an advanced search page?  With the
addition of the sorting (pull down menu I would hope) we could also add one for
Category, either All, or the others.  This way the search box stays clean with just
the string to query and not the category/sort options.  We'd have to filter the
querystring to make sure stuff like desc/title/category etc don't make it into the
box, but instead are controlled by the dropdowns or checkboxes.

To keep things simple, I think the default sort should be most kicks, and we should
have an advanced search page for things like date, search category, title, desc, url,
etc - with the extended sort options as well.  I would be happy to throw a page
together for this if you need any help.  I'm currently on a break from work for the
State so I have plenty of time to muck around.
Comment 8 by diamondz1975, Jan 21, 2008
To implement the sorting I'm using the lucene sort methods.

Once I've got a working version of the results sorting I'll commit the changes to the
trunk.


Comment 9 by diamondz1975, Jan 24, 2009
(No comment was entered for this change.)
Status: Fixed
Comment 10 by alinkes, Oct 17, 2009
baysneaker company in china, jordan, nike shoes only for $32 each without min 

order.also there guarantee safe delivery. 
powerful company in China.accept paypal. 
welcome to view website http://www.baysneaker.com 

commerce contains all styles of famous brand shoes:Nike Shoes, Jordan shoes, Nike 
jordan shoes, 

Air force shoes, Jordan mix , Jordan mix Air force UGG, ED Hardy, CA, Air max 87, 
max 90, max 95, max 

97, max 2003, max LTD, Nike shox R4, Shox TL3, Shox NZ, Shox MOSTER, Shox TUROB, 
Shox R3, Gucci, TN 

shoes, Puma shoes, Prada , Lacoste, Timberland shoes. 
Apparel:NEL, NBA, NHL, soccer, jersey, ED Hardy, CA, Lacoste, t-shirt.Jeans, Bikini, 
shorts, ED Hardy, 
http://www.baysneaker.com 

CA MLB Hat. 
Handbag:Chanel, Coach, D&G, FENDI, LV, Gess, Prada, Gucci, Polo, Chole, VERSACE, 
BURBERRY, Guicy, 

Dior, etc. 
Wallet:Chanel, Gucci, D&G, LV, Coach, Lous, etc. 
Sunglasses:Chanel, Evewear, D&G, FENDI, LV, Armani, prada, Gucci, Ray Pan, Versace, 
VERSACE, Cartier, 

Dior, etc. 
Watches:ED Hardy, Corum, Concord, Rolex, Armani, D&G, etc. 
Necktie:Boss, Armani, BURBERRY, VERSACE, Paul Smith, LV, etc 
so many styles for your choice, I'd like to send my catalog to you Top quality, High 
reputation, 

prompt delivery, low price A trial order is welcome to exam all of these, Please 
fell free to contact 

me at 
Our business is successfully expanded to United States, Canada, United Kingdom, 
Italy, Germany, Brazil 

etc. Meanwhile, we have set up long-term and closed cooperation with many 
manufacturers and factories. 

We believe that top quality of products, high reputation, excellent service and 
professionalism are 

those factors that used to compete with others 

Sign in to add a comment

Hosted by Google Code