Hi Antoine, We didn't use grouping. We didn't try to reorder millions of documents because that would mean they would all need to first read from disk/cache, then reordered, and then returned, which would be slooow. We did get more docs than we needed because in our case our goal was to diversify hits (as opposed to having hits ordered so uniformly according to a strict pattern as in your example). From what I can tell, what you are after could be accomplished with the same thing we did and a slightly different algo (which just so happens to be pluggable in our case).
Otis -- SOLR Performance Monitoring - http://sematext.com/spm/index.html Search Analytics - http://sematext.com/search-analytics/index.html On Sat, Dec 15, 2012 at 10:28 AM, Antoine LE FLOC'H <lefl...@gmail.com>wrote: > Otis, > Can you give more details on this ? Sounds interesting to me. What about if > you are trying to re-order millions of Lucene documents ? Did you use > grouping first ? > Antoine. > > > On Thu, Dec 13, 2012 at 8:54 PM, Otis Gospodnetic < > otis.gospodne...@gmail.com> wrote: > > > Hi, > > > > We've done something very similar to this before. We implemented it as a > > custom SearchComponent with a pluggable hit (re)ordering mechanism. > > > > Otis > > -- > > SOLR Performance Monitoring - http://sematext.com/spm/index.html > > Search Analytics - http://sematext.com/search-analytics/index.html > > > > > > > > > > On Thu, Dec 13, 2012 at 8:06 AM, nihed mbarek <nihe...@gmail.com> wrote: > > > > > actually, I have as schema albums with > > > artist / album_name / album_description > > > > > > When I made a search without query the result is (having the some > score) > > : > > > artist A > > > artist A > > > artist A > > > artist B > > > artist B > > > artist B > > > artist C > > > artist C > > > => depends on my indexing process > > > > > > what I want as result : > > > artist A > > > artist B > > > artist C > > > artist A > > > artist B > > > artist C > > > artist A > > > artist B > > > > > > => a circular result to see what I have as artist on my solr > > > > > > > > > > > > > > > > > > On Thu, Dec 13, 2012 at 1:59 PM, Tomás Fernández Löbbe < > > > tomasflo...@gmail.com> wrote: > > > > > > > What do you mean? Could you explain your use case? > > > > > > > > Tomás > > > > > > > > > > > > On Thu, Dec 13, 2012 at 9:36 AM, nihed mbarek <nihe...@gmail.com> > > wrote: > > > > > > > > > Hello, > > > > > > > > > > Is it possible to define a custom search for a fieldType on a > schema > > ? > > > ? > > > > > > > > > > Regards, > > > > > > > > > > -- > > > > > > > > > > M'BAREK Med Nihed > > > > > > > > > > > > > > > > > > > > > -- > > > > > > M'BAREK Med Nihed, > > > Fedora Ambassador, TUNISIA, Northern Africa > > > http://www.nihed.com > > > > > > <http://tn.linkedin.com/in/nihed> > > > > > >