There is a Random value type documented in the standard schema.xml. I'm not sure if it reseeds each time. You can use this in a function query along with your percentage bias fields.
On Mon, Aug 9, 2010 at 2:44 PM, Satish Kumar <satish.kumar.just.d...@gmail.com> wrote: > Hi, > > We have some identical records in our data set (e.g. what is swine flu? > written by two different authors). When user searches for "What is swine > flu?", we want the result by author1 appear as the first result for x% of > the queries and result by author2 for y% of the queries (where x and y > should be configurable). I am wondering if I can use the percentShare value > (25, 40, 60, etc.) stored per record as an element in controlling the score, > yet generating randomness-- if record1 share is 75% and record share is 25%, > on an average record1 should appear 75 times and record2 25 times in 100 > search queries; if not exactly 75 and 25, something in that range should be > fine too. > > Any ideas on implementing this feature? > > > Thanks much! > > Satish > -- Lance Norskog goks...@gmail.com