Re: custom solr sort

2013-01-07 Thread Chris Hostetter
: "mysearch" requesthandler(see following codes), I found that custom sort : just effect on the current page when I got multiple page results, but the : sort is expected when I sets the rows which contains all the results. Does : anybody know how to solve it or the reason? I haven't familiarized

Re: custom solr sort

2013-01-07 Thread andy
Thanks you guys, I got the reason now, there'is something wrong with compareBottom method in my source,it's not consistent with compare method -- View this message in context: http://lucene.472066.n3.nabble.com/custom-solr-sort-tp4031014p4031444.html Sent from the Solr - User ma

Re: custom solr sort

2013-01-07 Thread andy
lain why you want to implement a different sort first? There > may be other ways of achieving the same thing. > > Upayavira > > On Sun, Jan 6, 2013, at 01:32 AM, andy wrote: >> Hi, >> >> Maybe this is an old thread or maybe it's different with previous one. &g

Re: custom solr sort

2013-01-07 Thread Upayavira
Can you explain why you want to implement a different sort first? There may be other ways of achieving the same thing. Upayavira On Sun, Jan 6, 2013, at 01:32 AM, andy wrote: > Hi, > > Maybe this is an old thread or maybe it's different with previous one. > > I want to

Re: custom solr sort

2013-01-07 Thread Uwe Reh
Am 06.01.2013 02:32, schrieb andy: I want to custom solr sort and pass solr param from client to solr server, Hi Andy, not a answer of your question, but maybe an other approach to solve your initial question. Instead of writing a new SearchComponent I decided to (miss)use the function

custom solr sort

2013-01-05 Thread andy
Hi, Maybe this is an old thread or maybe it's different with previous one. I want to custom solr sort and pass solr param from client to solr server, so I implemented SearchComponent which named MySortComponent in my code, and also implemented FieldComparatorSource and FieldComparator. w

Re: How to custom solr sort?

2008-04-11 Thread Chris Hostetter
: I have inherited a new class from the org.apache.solr.schema.StrField and : customed a new sort algorithm by implementing the SortComparatorSource : interface.Then to export the jar file to the solr lib directory, and : configure the schema.xml file.But when I test the new feature, It does't : w

How to custom solr sort?

2008-04-10 Thread shawnliu
rk at all.Can you give some suggestions?Thanks. -- View this message in context: http://www.nabble.com/How-to-custom-solr-sort--tp16607351p16607351.html Sent from the Solr - User mailing list archive at Nabble.com.