RE: Reverse sort facet query [SOLR-1672]

2010-01-13 Thread Chris Hostetter
: i.e. just extend facet.sort to allow a 'count desc'. By convention, ok : to use a a space in the name? - or would count.desc (and count.asc as : alias for count) be more compliant? i would use space to remain consistent with the existing sort param. it might even make sense to refactor

RE: Reverse sort facet query [SOLR-1672]

2010-01-08 Thread Chris Hostetter
: working well. The only caveat to this is that the reverse sort results : don't include 0-count facets (see notes in SOLR-1672), so reverse sort ... : believe patching to include 0 counts could open a can of worms in terms : of b/w compat and performance, as 0 counts look to be skipped

RE: Reverse sort facet query [SOLR-1672]

2010-01-08 Thread Peter S
now i'm totally confused: what are you suggesting this new param would do, what does the name mean? Sorry, I wan't clear - there isn't a new parameter, except the one added in the patch. What I was suggesting here is to do the work to remove the new parameter I just put in

RE: Reverse sort facet query [SOLR-1672]

2010-01-04 Thread Peter 4U
Date: Sun, 3 Jan 2010 22:18:33 -0800 From: hossman_luc...@fucit.org To: solr-user@lucene.apache.org Subject: RE: Reverse sort facet query [SOLR-1672] : Yes, I thought about adding some 'new syntax', but I opted for a separate 'facet.sortorder' parameter, : : mainly because I'm

RE: Reverse sort facet query [SOLR-1672]

2010-01-03 Thread Chris Hostetter
: Yes, I thought about adding some 'new syntax', but I opted for a separate 'facet.sortorder' parameter, : : mainly because I'm not familiar enough with the codebase to know what effect this might have on : : backward compatibility. It would be easy enough to modify the patch I created to do

RE: Reverse sort facet query [SOLR-1672]

2009-12-28 Thread Peter 4U
: hossman_luc...@fucit.org To: solr-user@lucene.apache.org Subject: RE: Reverse sort facet query : I'll have a look at SimpleFacets.java to look at patching it. I should : think the sorting bit will be relatively straightforward. The tricky bit : is how to submit the request via the query

RE: Reverse sort facet query

2009-12-24 Thread Chris Hostetter
: I'll have a look at SimpleFacets.java to look at patching it. I should : think the sorting bit will be relatively straightforward. The tricky bit : is how to submit the request via the query interface - there's only a : boolean in Solr 1.4 the boolean syntax was deprecated in place of

RE: Reverse sort facet query

2009-12-16 Thread Peter 4U
@lucene.apache.org Subject: Re: Reverse sort facet query : Does anyone know of a good way to perform a reverse-sorted facet query (i.e. rarest first)? I'm fairly confident that code doesn't exist at the moment. If i remember correctly, it would be fairly simply to implement if you'd like to submit

Re: Reverse sort facet query

2009-12-15 Thread Chris Hostetter
: Does anyone know of a good way to perform a reverse-sorted facet query (i.e. rarest first)? I'm fairly confident that code doesn't exist at the moment. If i remember correctly, it would be fairly simply to implement if you'd like to submit a patch: when sorting by count a simple bounded

Reverse sort facet query

2009-12-10 Thread Peter 4U
Hello Forum, I've had a search in the mail archives and on the 'net, but I'm sure I wouldn't be the first to have a requirement for this: Does anyone know of a good way to perform a reverse-sorted facet query (i.e. rarest first)? As you know facet.sort toggles between sorting on