AnantLabs / dotnetkicks

Automatically exported from code.google.com/p/dotnetkicks
0 stars 1 forks source link

Feature Request: sort search results by date / number of kicks etc #174

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

Original issue reported on code.google.com by christia...@gmail.com on 29 Nov 2007 at 6:33

GoogleCodeExporter commented 9 years ago

Original comment by yesthatm...@gmail.com on 2 Dec 2007 at 2:46

GoogleCodeExporter commented 9 years ago

Original comment by diamondz...@googlemail.com on 3 Dec 2007 at 8:53

GoogleCodeExporter commented 9 years ago
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.

Original comment by DustinBr...@gmail.com on 18 Jan 2008 at 8:58

GoogleCodeExporter commented 9 years ago
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.

Original comment by diamondz...@googlemail.com on 19 Jan 2008 at 9:30

GoogleCodeExporter commented 9 years ago
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.

Original comment by DustinBr...@gmail.com on 19 Jan 2008 at 11:54

GoogleCodeExporter commented 9 years ago
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.

Original comment by DustinBr...@gmail.com on 20 Jan 2008 at 7:19

GoogleCodeExporter commented 9 years ago
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.

Original comment by DustinBr...@gmail.com on 20 Jan 2008 at 7:43

GoogleCodeExporter commented 9 years ago
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.

Original comment by diamondz...@googlemail.com on 21 Jan 2008 at 3:41

GoogleCodeExporter commented 9 years ago

Original comment by diamondz...@googlemail.com on 24 Jan 2009 at 6:01

GoogleCodeExporter commented 9 years ago
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 

Original comment by alin...@gmail.com on 17 Oct 2009 at 2:42