Re: Random Field

2010-05-01 Thread Static Void
useful would be randomizing closely related hits. IE hits within 5% of each other This is not the use case I've encountered multiple times in the past, but it should also be doable by using the random field in a function query. -Yonik Apache Lucene Eurocon 2010 18-21 May 2010 | Prague

Re: Random Field

2010-05-01 Thread Yonik Seeley
On Sat, May 1, 2010 at 12:32 PM, Static Void wrote: > What would be more useful would be randomizing closely related hits. IE hits > within 5% of each other This is not the use case I've encountered multiple times in the past, but it should also be doable by using the random field in

Re: Random Field

2010-05-01 Thread Static Void
What would be more useful would be randomizing closely related hits. IE hits within 5% of each other Sent from my iPhone On May 1, 2010, at 7:37 AM, Yonik Seeley wrote: On Sat, May 1, 2010 at 10:23 AM, Blargy wrote: Can someone explain a useful case for the RandomSortField? People so

Re: Random Field

2010-05-01 Thread Yonik Seeley
On Sat, May 1, 2010 at 10:23 AM, Blargy wrote: > Can someone explain a useful case for the RandomSortField? People sometimes have requirements to show different results to everyone (essentially randomly shuffling matches per person). -Yonik Apache Lucene Eurocon 2010 18-21 May 2010 | Prague >

Random Field

2010-05-01 Thread Blargy
Can someone explain a useful case for the RandomSortField? -- View this message in context: http://lucene.472066.n3.nabble.com/Random-Field-tp770087p770087.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Error sorting random field with Solr 1.4

2010-04-08 Thread SandeepTagore
me with this, please? Thanks for your support. Sandeep Tagore -- View this message in context: http://n3.nabble.com/Error-sorting-random-field-with-June-1-2009-Solr-1-4-nightly-tp499042p705835.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Error sorting random field with Solr 1.4

2010-04-08 Thread SandeepTagore
) at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131) at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316) -- View this message in context: http://n3.nabble.com/Error-sorting-random-field-with-June-1-2009-Solr-1-4-nightly-tp499042p705720

Re: Solr Random field

2009-10-26 Thread Yonik Seeley
On Mon, Oct 26, 2009 at 7:47 AM, Pooja Verlani wrote: > No I dont have the field with this type and neither do I want to re-index .. > is it possible otherwise ? Your documents don't need the "random" field, only your schema does. The example schema already contains the fo

Re: Solr Random field

2009-10-26 Thread Pooja Verlani
No I dont have the field with this type and neither do I want to re-index .. is it possible otherwise ? 2009/10/26 Noble Paul നോബിള്‍ नोब्ळ् > do you have a field whose type="random" . If yes then u can sort by that > field > > On Mon, Oct 26, 2009 at 3:35 PM, Pooja Verlani > wrote: > > Hi, > >

Re: Solr Random field

2009-10-26 Thread Noble Paul നോബിള്‍ नोब्ळ्
do you have a field whose type="random" . If yes then u can sort by that field On Mon, Oct 26, 2009 at 3:35 PM, Pooja Verlani wrote: > Hi, > I want a random sort type in the search results. The scenario is: > I want to return random results with no context relation to the query fired, > if I am n

Solr Random field

2009-10-26 Thread Pooja Verlani
Hi, I want a random sort type in the search results. The scenario is: I want to return random results with no context relation to the query fired, if I am not able to find any results relevant. I want something like: http://localhost:8083/solr/select/?q=*:*&sort=RANDOM. Please suggest. Regards, P

Re: Error sorting random field with June 1, 2009 Solr 1.4 nightly

2009-06-06 Thread Yonik Seeley
I just checked in a fix for this. -Yonik http://www.lucidimagination.com On Sat, Jun 6, 2009 at 10:41 AM, Yonik Seeley wrote: > On Sat, Jun 6, 2009 at 2:00 AM, Shalin Shekhar Mangar > wrote: >> It may be related to SOLR-. Yonik mentioned that there might be a >> problem with RandomSortField

Re: Error sorting random field with June 1, 2009 Solr 1.4 nightly

2009-06-06 Thread Yonik Seeley
On Sat, Jun 6, 2009 at 2:00 AM, Shalin Shekhar Mangar wrote: > It may be related to SOLR-. Yonik mentioned that there might be a > problem with RandomSortField: Yep, custom sort fields aren't compatible with the new Lucene Collector classes. I'll see if I can get it fixed this weekend. -Yoni

Re: Error sorting random field with June 1, 2009 Solr 1.4 nightly

2009-06-06 Thread Robert Purdy
Yes I am still getting the NPE. Robert. Shalin Shekhar Mangar wrote: > > On Tue, Jun 2, 2009 at 4:50 AM, Robert Purdy wrote: > >> >> Hey all, >> >> I was just wondering if anyone else is getting an error with today's >> nightly >>

Re: Error sorting random field with June 1, 2009 Solr 1.4 nightly

2009-06-05 Thread Shalin Shekhar Mangar
On Tue, Jun 2, 2009 at 4:50 AM, Robert Purdy wrote: > > Hey all, > > I was just wondering if anyone else is getting an error with today's > nightly > while sorting the random field. > > Thanks Rob. > > Jun 1, 2009 4:52:37 PM org.apache.sol

Error sorting random field with June 1, 2009 Solr 1.4 nightly

2009-06-01 Thread Robert Purdy
Hey all, I was just wondering if anyone else is getting an error with today's nightly while sorting the random field. Thanks Rob. Jun 1, 2009 4:52:37 PM org.apache.solr.common.SolrException log SEVERE: java.lang.NullPointerException at org.apache.lucene.search.SortField.getCompa