Re: fieldType custom search

2012-12-17 Thread Otis Gospodnetic
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

Re: fieldType custom search

2012-12-15 Thread Antoine LE FLOC'H
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

Re: fieldType custom search

2012-12-13 Thread Otis Gospodnetic
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,

Re: fieldType custom search

2012-12-13 Thread Tomás Fernández Löbbe
If you want that exact circular result I think the only option is to have an extra field, pre calculated (according to these needs, for example, incrementing a value for each document for the same artist or something like that) and sort on that field. If what you need is to show the artists, maybe

Re: fieldType custom search

2012-12-13 Thread nihed mbarek
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 arti

Re: fieldType custom search

2012-12-13 Thread Tomás Fernández Löbbe
What do you mean? Could you explain your use case? Tomás On Thu, Dec 13, 2012 at 9:36 AM, nihed mbarek wrote: > Hello, > > Is it possible to define a custom search for a fieldType on a schema ? ? > > Regards, > > -- > > M'BAREK Med Nihed >