solr facet query with Tagging and Excluding Filters

2014-09-18 Thread Andy Yu
Hi guys, I want to do a facet with facet query,and let it has the [Tagging and Excluding Filters] ( https://cwiki.apache.org/confluence/display/solr/Faceting)style which facet.field has,so how to do it , pls guide me! Thanks, Andy

custom solr sort problem

2013-01-05 Thread Andy Yu
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. when I u

Re: sort by field and score

2012-12-02 Thread Andy Yu
eak your code down into a simple standalone program > and post that if it still doesn't work. > > > -- > Ian. > > On Thu, Nov 29, 2012 at 4:20 AM, Andy Yu wrote: > > I revise the code to > > > > SortField sortField[] = {new Sor

Re: sort by field and score

2012-11-28 Thread Andy Yu
NaN I think you'll need > to use a TopFieldCollector. See for example > http://www.gossamer-threads.com/lists/lucene/java-user/86309 > > > -- > Ian. > > > On Tue, Nov 27, 2012 at 3:51 AM, Andy Yu wrote: > > Hi All, > > > > > > Now I want to sor