Re: Tomcat install Connector help.

2007-11-19 Thread Chris Hostetter
: Hi, I am trying to install solr on tomcat and am wondering which connector to : best to use in the server.xml? it depends a lot more on your use cases then on any thing specific to solr ... how ong do you want your commection timeouts to be? how big do you want the max POST size to be? do you

Re: tomcat install

2006-09-19 Thread James liu
i'd like to hear "I would start by trying to use the CJKAnalyzer as is with the syntax,described above." if need tester, call me. 2006/9/20, Chris Hostetter <[EMAIL PROTECTED]>: : I have went through my archives and I have found that people also have used : something similar to: : : :

Re: tomcat install

2006-09-19 Thread Chris Hostetter
: I have went through my archives and I have found that people also have used : something similar to: : : : : Correct. If you want to use a Lucene analyzer "as is" all you need to do is specify the class name. if you wnat to make an analyzer on the fly from a tokenizer and some tokenfil

Re: tomcat install

2006-09-19 Thread Nick Snels
Hi James, don't give up, your very close to having it work. If you can get CJKAnalyzer and CJKTokenizer to work in Lucene, you should also be able to get it to work in Solr. Look at the bright site, at least ant doesn't throw any errors. And my code isn't going to work, since it really cann't han

Re: tomcat install

2006-09-19 Thread James liu
today not Ok。i check source of cjk: CJKAnalyzer.java and CJKTokenizer.java (these from lucene 2.0 source code)and your code,,,i write CJKJLFilterFactory.java and CJKJLTokenizerFactory.javaant is ok.i copy new solr.war to tomcat's webappsand modify schema.xml use admin page, i use http://localh

Re: tomcat install

2006-09-19 Thread Nick Snels
Hi James, now you should make a FilterFactory, there are a few examples in c:\solr-nightly\src\java\org\apache\solr\analysis . You should also place your FilterFactory in this directory and rerun 'ant dist'. I have made a DutchStemFilterFactory class and this is the code: package org.apache.solr

Re: tomcat install

2006-09-18 Thread James liu
thank u, with your step and add junit, it is ok. you can analyzer your language? i modify schema: but nothing changed. 2006/9/19, Nick Snels <[EMAIL PROTECTED]>: Hi James, I also needed the DutchAnalyzer from Lucene in my Solr

Re: tomcat install

2006-09-18 Thread Nick Snels
Hi James, I also needed the DutchAnalyzer from Lucene in my Solr project. I did it the following way. Which is probably the hard way, because my Java knowledge isn't that great. 1. I unzipped the solr-nightly build 2. I downloaded the latest code from lucene, preferrably from svn : http://svn.ap

Re: tomcat install

2006-09-18 Thread James liu
Hi Nick, It is very funny. when i reboot my pc,it is ok and i do nothing. my new question is how to add lucene-analyzers-2.0.0.jar to tomcat or jetty. i add useful classes to solr.war which exist "C:\cygwin\tmp\solr-nightly\example\webapps\solr.war",,,but it is not effect... do u know how to s

Re: tomcat install

2006-09-18 Thread Nick Snels
Hi James, the problem is most likely a xml error in either schema.xml or solrconfig.xml. Go through your Tomcat logs, if it is an xml error you should find the line where the xml parsing went wrong. Kind regards, Nick On 9/18/06, James liu <[EMAIL PROTECTED]> wrote: thk Nick. i do you tell

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

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