Re: implementing a random result request handler - solr 1.2

2008-07-07 Thread Sean Laval
I'd start with the latest Solr version. If you really need to stick with 1.2 (even after 1.3 is out?) then RandomSortField should be easy to backport to 1.2 -Yonik On Mon, Jul 7, 2008 at 1:15 PM, Sean Laval <[EMAIL PROTECTED]> wrote: Well its simply a business requirement from my persp

Re: implementing a random result request handler - solr 1.2

2008-07-07 Thread Sean Laval
return the best hits for a query. Returning random hits from the entire matched set is likely to be very slow. It just isn't what Lucene is designed to do. wunder On 7/7/08 8:58 AM, "Sean Laval" <[EMAIL PROTECTED]> wrote: I have seen various posts about implementing random so

Re: implementing a random result request handler - solr 1.2

2008-07-07 Thread Sean Laval
be very slow. It just isn't what Lucene is designed to do. wunder On 7/7/08 8:58 AM, "Sean Laval" <[EMAIL PROTECTED]> wrote: I have seen various posts about implementing random sorting relating to the 1.3 code base but I am trying to do this in 1.2. Does anyone have

implementing a random result request handler - solr 1.2

2008-07-07 Thread Sean Laval
I have seen various posts about implementing random sorting relating to the 1.3 code base but I am trying to do this in 1.2. Does anyone have any suggestions? The approach I have considered is to implement my own request handler that picks random documents from a larger result list. I therefore

RE: custom response writers

2008-01-30 Thread Sean Laval
Thanks Hoss for that very full response. I did have cursory look at JSONResponseWriter but I must've missed the inner class. Thanks again. Sean> Date: Tue, 29 Jan 2008 14:42:02 -0800> From: [EMAIL PROTECTED]> To: solr-user@lucene.apache.org> Subject: RE: custom response writers> > > : Thats w

RE: custom response writers

2008-01-29 Thread Sean Laval
iter you are creating? It > looks like it is finding the class (i.e. it is not throwing a > ClassNotFoundException) but is having trouble constructing it. I > believe you need a no argument constructor.> > -Grant> > On Jan 29, 2008, at 9:58 AM, Sean Laval wrote:> > >>

custom response writers

2008-01-29 Thread Sean Laval
I wonder if anyone can help me. I am trying to create a custom response writer that better meets my needs. I am trying to return json data in a format required by dojo data components. As its json, ie text, I tried subclassing the TextResponseWriter and implementing the QueryResponseWriter inte

solr 1.2 - subclassing TextResponseWriter.. InstantiationException

2008-01-28 Thread Sean Laval
Trying to create my own response writer. I have subclassed TextResponseWriter and implemented QueryResponseWriter, registered the response writer in solr config. When jetty starts, I get... SEVERE: org.apache.solr.core.SolrException: Error instantiating class class myResponseWriters.DojoRespo

using xalan:tokenize in output xslt...

2008-01-22 Thread Sean Laval
I am using xalan:tokenize in an xsl that transforms solr output and the stylesheet is failing to compile. Any ideas? I am sure its straightforward. Any help appreciated. Regards, Sean _ Get Hotmail on your mobile, text MSN to 63

dojo and solr

2008-01-16 Thread Sean Laval
has anyone done any work integrating dojo based applications with solr? I am pretty new to both but I wondered if it anyone had developed an xsl for solr that returns solr queries in dojo data store format - json, but a specific format of json. I am not even sure if this is sensible/possible.

RE: java client for java 1.4 solr 2.0

2008-01-05 Thread Sean Laval
ucene - Solr - Nutch> > - Original Message > From: Sean Laval <[EMAIL PROTECTED]>> To: solr-user@lucene.apache.org> Sent: Saturday, January 5, 2008 5:24:29 PM> Subject: java client for java 1.4 solr 2.0> > > can anyone offer any advice as to whether th

java client for java 1.4 solr 2.0

2008-01-05 Thread Sean Laval
can anyone offer any advice as to whether there is a java client that will work on java 1.4 against 2.0. Well I have seen various references to java a java clients but there doesn't seem to be one included in the solr 2.0 distribution. I think there is one intended for solr 3.0 but of course th

does solr handle hierarchical facets?

2007-12-10 Thread Sean Laval
eg. category/subcategory/subsubcategory? such that if you search for category, you get all those documents that have been tagged with the category AND any sub categories. If this is possible I think I'll investigate using solr in place of some existing code we have that deals with indexing an

solr on websphere.. is it possible?

2007-12-07 Thread Sean Laval
Has anyone managed to run solr 1.2 on WebSphere 6.1. It ought to be possible so far as I can tell but currently I just get Error 404: SRVE0190E: File not found: {0} when I try and launch the admin page. Hope someone can help. Thanks, Sean _