Perhaps, depending on your domain logic you could use function queries to achieve that. http://wiki.apache.org/solr/FunctionQuery#Sort_By_Function Regards, Tommaso
2010/11/29 Papp Richard <ccode...@gmail.com> > Hello, > > I have many pages with the same content in the search result (the result > is the same for some of the cities from the same county)... which means > that > I have duplicate content. > > the filter query is something like: +locationId:(60 26a 39a) - for city > with ID 60 > and I get the same result for city with ID 62: +locationId:(62 26a 39a) > (cityID, countyID, countryID) > > how could I use a sorting to have different docs order in results for > different cities? > (for the same city I need to have the same sort order always - it cannot > be a simple random...) > > could I use somehow the cityID parameter as boost or score ? I tried but > could't realise too much. > > thanks, > Rich > > > __________ Information from ESET NOD32 Antivirus, version of virus > signature > database 5659 (20101129) __________ > > The message was checked by ESET NOD32 Antivirus. > > http://www.eset.com > > >