Re: resin faile to start with solr.
now i test the newest solr (nothing modified) i failed to start solr with resin 3.0 1. Which exact version of Resin? Still 3.0.23? 2. Just to confirm, you uncommented out the lines in web.xml mentioned previously? -- Ken 2007/4/28, James liu <[EMAIL PROTECTED]>: yes, i tried and failed. afternoon i will redownload solr and test . 2007/4/28, Bill Au <[EMAIL PROTECTED]>: Have you tried using the schema.xml that is in example/solr/conf. It that works then the problem is definitely in your schema.xml. Bill On 4/26/07, James liu < [EMAIL PROTECTED]> wrote: > > but it is ok when i use tomcat. > > 2007/4/26, Ken Krugler <[EMAIL PROTECTED]>: > > > > >3.0.23 yesterday i try and fail. > > > > > >which version u use,,,i just not use pro version. > > > > From the error below, either your schema.xml file is messed up, or it > > might be that you still need to uncomment out the lines at the > > beginning of the web.xml file. > > > > These are the ones that say "Uncomment if you are trying to use a > > Resin version before 3.0.19"). Even though you're using a later > > version of Resin, I've had lots of issues with their XML parsing. > > > > -- Ken > > > > > > > > > > > >2007/4/26, Bill Au <[EMAIL PROTECTED]>: > > >> > > >>Have you tried resin 3.0.x? 3.1 is a development branch so it is less > > >>stable as 3.0. > > >> > > >>Bill > > >> > > >>On 4/19/07, James liu <[EMAIL PROTECTED] > wrote: > > >>> > > >>> It work well when i use tomcat with solr > > >>> > > >>> now i wanna test resin,,,i use resin-3.1.0 > > >>> > > >>> now it show me > > >>> > > >>> [03:47:34.047] WebApp[http://localhost:8080] starting > > >>> [03:47:34.691 ] WebApp[http://localhost:8080/resin-doc] starting > > >>> [03:47:34.927] WebApp[http://localhost:8080/solr1] starting > > >>> [03:47:35.051] SolrServlet.init() > > >>> [03:47:35.077] Solr home set to '/usr/solrapp/solr1/' > > >>> [03:47:35.077] user.dir=/tmp/resin-3.1.0/bin > > >>> [03:47:35.231] Loaded SolrConfig: solrconfig.xml > > >>> [03:47:35.522] adding requestHandler standard= > > >>solr.StandardRequestHandler > > >>> [03:47: 35.621] adding requestHandler dismax= > solr.DisMaxRequestHandler > > >>> [03:47:35.692] adding requestHandler partitioned= > > >>solr.DisMaxRequestHandler > > >>> [03:47: 35.721] adding requestHandler instock= > > solr.DisMaxRequestHandler > > >>> [03:47:35.819] Opening new SolrCore at /usr/solrapp/solr1/, > > >>> dataDir=/usr/solrapp/solr1/data > > >>> [03:47:35.884] Reading Solr Schema > > >> > [03:47:35.916] Schema name=example > > >>> [03:47:35.929] org.apache.solr.core.SolrException: Schema Parsing > > Failed > > >> > [03:47:35.929] at org.apache.solr.schema.IndexSchema.readConfig( > > >>> IndexSchema.java:441) > > >>> [03:47:35.929] at org.apache.solr.schema.IndexSchema .( > > >>> IndexSchema.java:69) > > >>> [03:47:35.929] at org.apache.solr.core.SolrCore.( > SolrCore.java > > >>:191) > > >>> > > >>> > > >>> > > >>> -- > > >>> regards > > >> > jl > > > > -- > > Ken Krugler > > Krugle, Inc. > > +1 530-210-6378 > > "Find Code, Find Answers" > > > > > > -- > regards > jl > -- regards jl -- regards jl -- Ken Krugler Krugle, Inc. +1 530-210-6378 "Find Code, Find Answers"
RE: EmbeddedSolr class from Wiki
:you could even have the postCommit hook of your writer trigger a commit :call on your readers so they reopen the newly updated index. Thanks, I need "separate JVMs" so "writer triggers a commit call on readers" is slightly unclear... I want to use separate applications, webmodule with reader, and standalone writer (it could be webmodule too, but with different JEE context; similar to separate JVMs). As I understand, we need some some kind of trigger refreshing our readers. Probably I can add some code to refresh readers hourly, for instance...
Re: resin faile to start with solr.
2007/4/29, Ken Krugler <[EMAIL PROTECTED]>: >now i test the newest solr (nothing modified) > >i failed to start solr with resin 3.0 1. Which exact version of Resin? Still 3.0.23? 3.0.23 2. Just to confirm, you uncommented out the lines in web.xml mentioned previously? just newest solr's web.xml. i not modifie it. -- Ken >2007/4/28, James liu <[EMAIL PROTECTED]>: >> >>yes, i tried and failed. >> >>afternoon i will redownload solr and test . >> >>2007/4/28, Bill Au <[EMAIL PROTECTED]>: >>> >>> Have you tried using the schema.xml that is in example/solr/conf. It >>> that >>> works then the problem is definitely in your schema.xml. >>> >>> Bill >>> >>> On 4/26/07, James liu < [EMAIL PROTECTED]> wrote: >>> > >>> > but it is ok when i use tomcat. >>> > >>> > 2007/4/26, Ken Krugler <[EMAIL PROTECTED]>: >>> > > >>> > > >3.0.23 yesterday i try and fail. >>> > > > >>> > > >which version u use,,,i just not use pro version. >>> > > >>> > > From the error below, either your schema.xml file is messed up, or >>> it >>> > > might be that you still need to uncomment out the lines at the >>> > > beginning of the web.xml file. >>> > > >>> > > These are the ones that say "Uncomment if you are trying to use a >>> > > Resin version before 3.0.19"). Even though you're using a later >>> > > version of Resin, I've had lots of issues with their XML parsing. >>> > > >>> > > -- Ken >>> > > >>> > > >>> > > >>> > > > >>> > > >2007/4/26, Bill Au <[EMAIL PROTECTED]>: >>> > > >> >>> > > >>Have you tried resin 3.0.x? 3.1 is a development branch so it is >>> less >>> > > >>stable as 3.0. >>> > > >> >>> > > >>Bill >>> > > >> >>> > > >>On 4/19/07, James liu <[EMAIL PROTECTED] > wrote: >>> > > >>> >>> > > >>> It work well when i use tomcat with solr >>> > > >>> >>> > > >>> now i wanna test resin,,,i use resin-3.1.0 >>> > > >>> >>> > > >>> now it show me >>> > > >>> >>> > > >>> [03:47:34.047] WebApp[http://localhost:8080] starting >>> > > >>> [03:47:34.691 ] WebApp[http://localhost:8080/resin-doc] >>> starting >>> > > >>> [03:47:34.927] WebApp[http://localhost:8080/solr1] starting >>> > > >>> [03:47:35.051] SolrServlet.init() >>> > > >>> [03:47:35.077] Solr home set to '/usr/solrapp/solr1/' >>> > > >>> [03:47:35.077] user.dir=/tmp/resin-3.1.0/bin >>> > > >>> [03:47:35.231] Loaded SolrConfig: solrconfig.xml >>> > > >>> [03:47:35.522] adding requestHandler standard= >>> > > >>solr.StandardRequestHandler >>> > > >>> [03:47: 35.621] adding requestHandler dismax= >>> > solr.DisMaxRequestHandler >>> > > >>> [03:47:35.692] adding requestHandler partitioned= >>> > > >>solr.DisMaxRequestHandler >>> > > >>> [03:47: 35.721] adding requestHandler instock= >>> > > solr.DisMaxRequestHandler >>> > > >>> [03:47:35.819] Opening new SolrCore at /usr/solrapp/solr1/, >>> > > >>> dataDir=/usr/solrapp/solr1/data >>> > > >>> [03:47:35.884] Reading Solr Schema >>> > > >> > [03:47:35.916] Schema name=example >>> > > >>> [03:47:35.929] org.apache.solr.core.SolrException: Schema >>> Parsing >>> > > Failed >>> > > >> > [03:47:35.929] at >>> org.apache.solr.schema.IndexSchema.readConfig( >>> > > >>> IndexSchema.java:441) >>> > > >>> [03:47:35.929] at org.apache.solr.schema.IndexSchema.( >>> > > >>> IndexSchema.java:69) >>> > > >>> [03:47:35.929] at org.apache.solr.core.SolrCore.( >>> > SolrCore.java >>> > > >>:191) >>> > > >>> >>> > > >>> >>> > > >>> >>> > > >>> -- >>> > > >>> regards >>> > > >> > jl >>> > > >>> > > -- >>> > > Ken Krugler >>> > > Krugle, Inc. >>> > > +1 530-210-6378 >>> > > "Find Code, Find Answers" >>> > > >>> > >>> > >>> > >>> > -- >>> > regards >>> > jl >>> > >>> >> >> >> >>-- >>regards >>jl > > > > >-- >regards >jl -- Ken Krugler Krugle, Inc. +1 530-210-6378 "Find Code, Find Answers" -- regards jl
RE: i wanna find one crawl that can crawl with defined urls and defined data
H. Even PriceGrabber, CNET, and Frgle can't do it!!! They simply publish RSS feeds. http://www.tokenizer.org -Original Message- From: James liu Sent: Saturday, April 28, 2007 11:12 PM To: solr-user@lucene.apache.org Subject: i wanna find one crawl that can crawl with defined urls and defined data for example, i wanna crawl http://www.amazone.com/ and just wanna product title , product information, writer, publisher. and other data i wanna ignore. Maybe someone can recommend it, and it will be appreciate -- regards jl
Re: i wanna find one crawl that can crawl with defined urls and defined data
u means their data just use RSS feeds, not crawl? 2007/4/30, Fuad Efendi <[EMAIL PROTECTED]>: H. Even PriceGrabber, CNET, and Frgle can't do it!!! They simply publish RSS feeds. http://www.tokenizer.org -Original Message- From: James liu Sent: Saturday, April 28, 2007 11:12 PM To: solr-user@lucene.apache.org Subject: i wanna find one crawl that can crawl with defined urls and defined data for example, i wanna crawl http://www.amazone.com/ and just wanna product title , product information, writer, publisher. and other data i wanna ignore. Maybe someone can recommend it, and it will be appreciate -- regards jl -- regards jl