Re: how to check index's data

2006-09-17 Thread James liu
I find solrphp is problem. i use post.sh,,it can index data and i can use luke

tomcat install

2006-09-17 Thread James liu
tomcat 5.5 win2003,,i can find http://localhost:8080,,it is ok. i copy solr-nightly.war to "c:\tomcat5.5\webapps\solr.war" i start tomcat,,it auto generate solr directory in "c:\tomcat5.5\webapps\solr" http://localhost:8080/solr/admin/,,,it show me error information: HTTP Status 500 - type Ex

Re: acts_as_solr

2006-09-17 Thread Simon Peter Nicholls
I had a play around with acts_as_solr today (thanks Yonik for the pointer). Had to fiddle around for a while to set up the schema.xml, (I'm totally new to Solr), but it worked well. Well, I'm far from RoR savvy (new to Ruby/Rails also), but concerning the commit question, probably using an

Re: tomcat install

2006-09-17 Thread Nick Snels
Hi James, you should put the directory solr (which you find under /example/solr) directly under c:\tomcat5.5\, so you get c:\tomcat5.5\solr\bin en c:\tomcat5.5\solr\conf . The error you are getting is that tomcat cann't find the solr configuration directory. Hope you get it running. Kind regards

Re: how to check index's data

2006-09-17 Thread Chris Hostetter
: I find solrphp is problem. : : i use post.sh£¬£¬it can index data and i can use luke post.sh does a commit automatically after sending docs, i don't know much about PHP but doing a quick grep of http://wiki.apache.org/solr/SolrUpdate i don't see anywhere in the addIndex method you mentioned tha

Re: tomcat install

2006-09-17 Thread James liu
thk Nick. i do you tell me and i can see admin page. but when i click search ,,,error information: java.lang.NullPointerException at org.apache.solr.search.SolrQueryParser.(SolrQueryParser.java:37) at org.apache.solr.search.QueryParsing.parseQuery(QueryParsing.java:47) at org.apache.solr.reques