Re: Embarrasing compilation errors with solr-nightly/example

2006-06-28 Thread James Pine
Hey, Moving the tools.jar to my JRE's lib directory worked. I did some further research concerning tools.jar and JRE/JDK/JAVA_HOME environment variables and it seems that they all have their own JavaHome entry in the registry under HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\ I think part of my problem

Re: Faceted Browsing questions

2006-06-28 Thread Vish D.
Erik, Any update on your progress? Eager to get my hands on on your latest code... :=) Thanks! On 6/28/06, Chris Hostetter <[EMAIL PROTECTED]> wrote: : > well, the most obvious solution i can think of would be a patch adding an : > invert() method to DocSet, HashDocSet and BitDocSet. :) :

RE: Java or PHP code to trigger solr?

2006-06-28 Thread Brian Lucas
No, curl support is compiled into PHP and is extremely stable so there's no command shell or POSIX stability issues to deal with -- just direct C interfacing. Also, there is a way for PHP to talk to HTTP directly -- while I can post that method, it's probably not necessary. The curl libraries h

Re: Java or PHP code to trigger solr?

2006-06-28 Thread Erik Hatcher
On Jun 28, 2006, at 5:26 PM, Brian Lucas wrote: Ok, I uploaded the initial versions: http://wiki.apache.org/solr/ SolPHP Wow, so you shell to "curl". Interesting! Surely there is a PHP way to simply talk HTTP directly? (never having code a line of PHP ever) Erik

Re: Java or PHP code to trigger solr?

2006-06-28 Thread Erik Hatcher
On Jun 28, 2006, at 4:22 PM, Mike Baranczak wrote: Erik Hatcher was recently talking about a Ruby-on-Rails interface for Solr, but I don't know what the status is on that. As far as I know, nobody has yet written interfaces for PHP or CF, but it shouldn't be that hard; it's just a question

Re: Java or PHP code to trigger solr?

2006-06-28 Thread Erik Hatcher
On Jun 28, 2006, at 3:39 PM, UpAndGone wrote: I was just planning to write a web service like front-end to Lucene when I heard of this project. Are there any examples on integrating Solr yet? I see the wiki section, but it is empty. How can I trigger solr, say from my Java app without usin

Re: Embarrasing compilation errors with solr-nightly/example

2006-06-28 Thread Erik Hatcher
On Jun 28, 2006, at 8:30 PM, Chris Hostetter wrote: Interesting ... it never occured to me that the demo would require a JDK instead of a JRE so that Jetty can compile the JSPs ... but it makes sense. There are ways to precompile JSP's, but last time I tinkered with this it was container

Re: Embarrasing compilation errors with solr-nightly/example

2006-06-28 Thread Chris Hostetter
: Sounds to me like you are using the JRE and not a JDK. : : Make sure $JAVA_HOME/lib/tools.jar is in your classpath. Interesting ... it never occured to me that the demo would require a JDK instead of a JRE so that Jetty can compile the JSPs ... but it makes sense. I'll try to verify this when

Re: When to commit?

2006-06-28 Thread Erik Hatcher
On Jun 28, 2006, at 3:43 PM, UpAndGone wrote: Another question: Since a commit is expensive, it shouldn't be send after each update, should it? Would it make sense to commit in a certain time frame, let's say every 5 minutes? For a high traffic site, would five minutes be okay or is it still

AW: Java or PHP code to trigger solr?

2006-06-28 Thread UpAndGone
Wow, that was fast! :-) Thank you very much! Brian Lucas: > Ok, I uploaded the initial versions: http://wiki.apache.org/solr/SolPHP Mike Baranczak > Here's a Java client for Solr: > > http://issues.apache.org/jira/browse/SOLR-20

RE: Java or PHP code to trigger solr?

2006-06-28 Thread Brian Lucas
Ok, I uploaded the initial versions: http://wiki.apache.org/solr/SolPHP Keep in mind that because of the application-specific nature of these searches, I have been using a version adapted to my own needs. I attempted to abstract this version as much as possible but didn't test it after I stripped

Re: Java or PHP code to trigger solr?

2006-06-28 Thread Michael J. Giarlo
I believe Brian Lucas was writing PHP bindings -- http://wiki.apache.org/solr/SolPHP How's that going, anyway? I'm pretty eager to get my grubby mitts on it. -Mike Mike Baranczak wrote: Here's a Java client for Solr: http://issues.apache.org/jira/browse/SOLR-20 Erik Hatcher was recently t

Re: Embarrasing compilation errors with solr-nightly/example

2006-06-28 Thread Joachim Martin
Sounds to me like you are using the JRE and not a JDK. Make sure $JAVA_HOME/lib/tools.jar is in your classpath. --Joachim James Pine wrote: I am trying to walk through the Solr tutorial at: http://incubator.apache.org/solr/tutorial.html and can't seem to get: http://localhost:8983/solr/admin/

Re: Java or PHP code to trigger solr?

2006-06-28 Thread Mike Baranczak
Here's a Java client for Solr: http://issues.apache.org/jira/browse/SOLR-20 Erik Hatcher was recently talking about a Ruby-on-Rails interface for Solr, but I don't know what the status is on that. As far as I know, nobody has yet written interfaces for PHP or CF, but it shouldn't be that h

Re: Embarrasing compilation errors with solr-nightly/example

2006-06-28 Thread UpAndGone
I have had the same problem. It works with tomcat5, though. > I am trying to walk through the Solr tutorial at: > http://incubator.apache.org/solr/tutorial.html and > can't seem to get: > http://localhost:8983/solr/admin/index.jsp > > to compile. Here's the top of the error, I've included > the r

Embarrasing compilation errors with solr-nightly/example

2006-06-28 Thread James Pine
I am trying to walk through the Solr tutorial at: http://incubator.apache.org/solr/tutorial.html and can't seem to get: http://localhost:8983/solr/admin/index.jsp to compile. Here's the top of the error, I've included the rest at the end of the message: HTTP ERROR: 500 Unable to compile class for

Re: Java or PHP code to trigger solr?

2006-06-28 Thread Tim Archambault
I'm curious as well as I am creating a CFMX interface for Solr. If you wouldn't mind sharing info, please do. On 6/28/06, UpAndGone <[EMAIL PROTECTED]> wrote: Hello, I was just planning to write a web service like front-end to Lucene when I heard of this project. Are there any examples on in

When to commit?

2006-06-28 Thread UpAndGone
Hi again, Another question: Since a commit is expensive, it shouldn't be send after each update, should it? Would it make sense to commit in a certain time frame, let's say every 5 minutes? For a high traffic site, would five minutes be okay or is it still to expensive? Thanks Christian

Java or PHP code to trigger solr?

2006-06-28 Thread UpAndGone
Hello, I was just planning to write a web service like front-end to Lucene when I heard of this project. Are there any examples on integrating Solr yet? I see the wiki section, but it is empty. How can I trigger solr, say from my Java app without using curl? Thanks Christian

Re: Faceted Browsing questions

2006-06-28 Thread Chris Hostetter
: > well, the most obvious solution i can think of would be a patch adding an : > invert() method to DocSet, HashDocSet and BitDocSet. :) : : Yes, we could add a flip(startIndex, endIndex) or flip(maxDoc) Yeah ... like i suggested before just make maxDoc an intrinsic property that DocSets know w

Re: Faceted Browsing questions

2006-06-28 Thread Yonik Seeley
On 6/26/06, Chris Hostetter <[EMAIL PROTECTED]> wrote: : My next challenge is to re-implement the catch-all facets that I used : to do by unioning all documents in an (Open)BitSet and inverting it. : How can I invert a DocSet (I realize I gat get the bits and do it : that way, but is there a bett