Re: First version of solr javascript client to review

2008-07-07 Thread Erik Hatcher
Mattias, Nice start! One comment In test.html: new $sj.solrjs.Manager({solrUrl:"http://localhost:8983/solr/ select"}); It would be better to omit the "/select" from the base URL. Consider Solr rooted at a particular URL without the request handler mapping attached to it, and all

Re: js client

2008-07-07 Thread Benson Margulies
The Javascript should have the right URL automatically if you get it from the ?js URL. Anyway, I think I was the first person to say 'stupid' about that WSDL in the sample. I'm not at all clear on what you are doing at this point. Please send along the URL that works for you in soapUI and the U

Re: implementing a random result request handler - solr 1.2

2008-07-07 Thread Yonik Seeley
On Mon, Jul 7, 2008 at 1:40 PM, Sean Laval <[EMAIL PROTECTED]> wrote: > The RandomSortField in 1.3 each time you then issue a query, you get the > same random sort order right? That is to say the randomness is implemented > at index time rather than search time? See the comment in the example

Re: implementing a random result request handler - solr 1.2

2008-07-07 Thread Ryan McKinley
The random sort field in solr 1.3 relies on the field name and dynamic fields for ordering. Check the example solrconfig.xml in 1.3 to get random results, try various field names: &sort=rand_123 asc &sort=rand_xyz asc &sort=rand_{generate your random number on the client} asc This is

Re: implementing a random result request handler - solr 1.2

2008-07-07 Thread Sean Laval
The RandomSortField in 1.3 each time you then issue a query, you get the same random sort order right? That is to say the randomness is implemented at index time rather than search time? Thanks, -- From: "Yonik Seeley" <[EMAIL PROTECTED]> Sen

Re: implementing a random result request handler - solr 1.2

2008-07-07 Thread Walter Underwood
Is it a business requirement that this is fast? If so, you are going to spend a lot of money on hardware. Might want to request that the business people think again about their requirements. Here is one way to do this, using the simplest Solr/Lucene features. An implementation internal to Solr wou

Re: implementing a random result request handler - solr 1.2

2008-07-07 Thread Yonik Seeley
If it's just a random ordering you are looking for, it's implemented in the latest Solr 1.3 Solr 1.3 should be out soon, so if you are just starting development, 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 ea

Re: implementing a random result request handler - solr 1.2

2008-07-07 Thread Sean Laval
Perhaps I can be clearer about my requirement... I need to populate a portlet with a random list of documents of a specified size from the index, thats all. Thanks, and any help would be a greatly appreciated. -- From: "Walter Underwood" <[EMAIL

Re: implementing a random result request handler - solr 1.2

2008-07-07 Thread Sean Laval
Well its simply a business requirement from my perspective. I am not sure I can say more than that. I could maybe implement a request handler that did an initial search to work out how many hits there are resulting from the query and then did as many more queries as were required fetching just 1

Auto complete

2008-07-07 Thread sundar shankar
Hi All, I am using Solr for some time and am having trouble with an auto complete feature that I have been trying to incorporate. I am indexing solr as a database column to solr field mapping. I have tried various configs that were mentioned in the solr user community suggestions and

Re: implementing a random result request handler - solr 1.2

2008-07-07 Thread Walter Underwood
Why do you want random hits? If we know more about the bigger problem, we can probably make better suggestions. Fundamentally, Lucene is designed to quickly 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 d

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

Filter query + holding previous Facet query counts

2008-07-07 Thread Jon Baer
Hi, Is there an easy way to use fq to filter down but retain the overall facet query counts? I can't seem to find how to accomplish this but seems like a common item needed for navigating though a result set. I need to do this w/o holding a session and the counts always seem to reflect

Re: Implementing MoreLikeThis in Ruby

2008-07-07 Thread Koji Sekiguchi
Neeti, Do you know: There are two ways to access MoreLikeThis from solr: from the MoreLikeThisHandler or with the StandardRequestHandler. http://wiki.apache.org/solr/MoreLikeThis You set MoreLikeThisHandler in your solrconfig.xml: > > > channel_name > 1 > > but you were using StandardRe

Re: Which parser is used to parse response XML get from Solr

2008-07-07 Thread Noble Paul നോബിള്‍ नोब्ळ्
I'm at a loss here. http://java.sun.com/j2se/1.3/docs/tooldocs/win32/classpath.html This may help you learn how to set classpath in java. The problem you are facing has little to do with SolrJ . --Noble On Mon, Jul 7, 2008 at 5:47 PM, Ranjeet <[EMAIL PROTECTED]> wrote: > Hi, > > I have gone thro

Re: Which parser is used to parse response XML get from Solr

2008-07-07 Thread Ranjeet
Hi, I have gone through the follwing link but could not find the any section of setting classpath for SolrJ. Pls help me how to come out this problem. Thanks Ranjeet - Original Message - From: "Noble Paul നോബിള്‍ नोब्ळ्" <[EMAIL PROTECTED]> To: Sent: Monday, July 07, 2008 3:29 PM S

Re: Which parser is used to parse response XML get from Solr

2008-07-07 Thread Noble Paul നോബിള്‍ नोब्ळ्
hi, I have added a section of classpath setting for SolrJ http://wiki.apache.org/solr/Solrj#head-674dd7743df665fdd56e8eccddce16fc2de20e6e --Noble On Mon, Jul 7, 2008 at 2:33 PM, Ranjeet <[EMAIL PROTECTED]> wrote: > I have downloaded "apache-solr-nightly" include the jar files, and now I > have to

Re: Which parser is used to parse response XML get from Solr

2008-07-07 Thread Ranjeet
I have downloaded "apache-solr-nightly" include the jar files, and now I have to get the response xml value, so for invoking trhough I did not get the common package under solr, so this class belongs to which jar files? pls help me out I am new to Solr1.3. Currently I have configured Solr1.2 i

install problem with tomcat 5.5 on redhat

2008-07-07 Thread Gaetano Giunta
Hello I have been trying without success to install Solr on a RHES 5.1 server using Java 1.5.0.16 from sun, Tomcat 5.5.23 from the Red Hat repositories. I tested both the solr version that comes packaged with the eZFind extension for eZPublish and the latest nightly. The error that comes up i

Re: Bulk delete

2008-07-07 Thread Frans Flippo
Are you sure there is not a single criteria by which these documents are selected for deletion? Surely they're not 1000 random documents? Perhaps the criteria can not be described by the fields you're currently indexing, but that's just a matter of adding the necessary index fields. E.g. date:[200