Re: Order document result by face count

2009-05-17 Thread Brian Mansell
Patric -

See the documents in facets results for a creative method for handling
this need with xslt transformations.

Cheers,

--bemansell

On May 16, 2009 2:11 AM, patric.wi...@rtl.de wrote:

Hello,

I've got a little problem. My index contains a formatid wich i counts in my
querys with the facet.field

select?q=text%3A(TEST)start=0rows=100facet=truefacet.field=formatidfacet.mincount=1facet.sort=true

The facet fields are sorted by count but my result is still sorted by the
score! Can I change that so all documents are grouped by the faced count?

lst name=formatid
  int name=126/int
  int name=2421/int
  int name=220/int
  int name=2012/int
  int name=274/int
  int name=122/int
  int name=262/int
  int name=32/int
  int name=382/int
  int name=412/int
  int name=351/int
/lst


Kind regards,
Patric


Die Information in dieser E-Mail ist vertraulich und exklusiv fuer den
Adressatenkreis bestimmt. Unbefugte Empfaenger haben kein Recht, vom Inhalt
Kenntnis zu nehmen, fehlgeleitete E-mails sind sofort zu loeschen.
Weiterleiten oder Kopieren darf, auch auszugsweise nur mit ausdruecklicher,
schriftlicher Einwilligung des Absenders erfolgen. In jedem Fall ist
sicherzustellen, dass keinerlei inhaltliche Veraenderungen erfolgen. Der
Absender ist von der Richtigkeit des Inhalts und der Uebertragung dieser
E-Mail ueberzeugt. Eine Haftung dafuer ist jedoch ausgeschlossen.

This is a confidential communication intended only for the named adresses.
If you received this communication in error, please notify us and return and
delete it without reading it. This e-mail may not be disclosed, copied or
distributed in any form without the obtained permission in writing of the
sender. In any case it may not be altered or otherwise changed. Whilst the
sender believes that the information is correct at the date of the e-mail,
no warranty and representation is given to this effect and no responsibility
can be accepted by the sender.


Order document result by face count

2009-05-16 Thread Patric.Wilms
Hello,

I've got a little problem. My index contains a formatid wich i counts in my 
querys with the facet.field

select?q=text%3A(TEST)start=0rows=100facet=truefacet.field=formatidfacet.mincount=1facet.sort=true

The facet fields are sorted by count but my result is still sorted by the 
score! Can I change that so all documents are grouped by the faced count?

lst name=formatid
   int name=126/int
   int name=2421/int
   int name=220/int
   int name=2012/int
   int name=274/int
   int name=122/int
   int name=262/int
   int name=32/int
   int name=382/int
   int name=412/int
   int name=351/int
/lst


Kind regards,
Patric


Die Information in dieser E-Mail ist vertraulich und exklusiv fuer den 
Adressatenkreis bestimmt. Unbefugte Empfaenger haben kein Recht, vom Inhalt 
Kenntnis zu nehmen, fehlgeleitete E-mails sind sofort zu loeschen. Weiterleiten 
oder Kopieren darf, auch auszugsweise nur mit ausdruecklicher, schriftlicher 
Einwilligung des Absenders erfolgen. In jedem Fall ist sicherzustellen, dass 
keinerlei inhaltliche Veraenderungen erfolgen. Der Absender ist von der 
Richtigkeit des Inhalts und der Uebertragung dieser E-Mail ueberzeugt. Eine 
Haftung dafuer ist jedoch ausgeschlossen. 

This is a confidential communication intended only for the named adresses. If 
you received this communication in error, please notify us and return and 
delete it without reading it. This e-mail may not be disclosed, copied or 
distributed in any form without the obtained permission in writing of the 
sender. In any case it may not be altered or otherwise changed. Whilst the 
sender believes that the information is correct at the date of the e-mail, no 
warranty and representation is given to this effect and no responsibility can 
be accepted by the sender.