Re: Unbuffered entity enclosing request can not be repeated.

2010-05-09 Thread Satish Kumar
Found these errors in Tomcat's log file: May 9, 2010 10:57:24 PM org.apache.solr.common.SolrException log SEVERE: java.lang.RuntimeException: [was class java.net.SocketTimeoutException] Read timed out at com.ctc.wstx.util.ExceptionUtil.throwRuntimeException(ExceptionUtil.java:18) a

Unbuffered entity enclosing request can not be repeated.

2010-05-09 Thread Satish Kumar
Hi, I am getting the following error when I run the index process once in a while. I'm using Solr 1.4. Any suggestions on how to resolve this error? Caused by: org.apache.solr.client.solrj.SolrServerException: org.apache.commons.httpclient.ProtocolException: Unbuffered entity enclosing request ca

Re: Fixed: Solritas on multicore Solr, using standard query handler (was Re: ClassNotFoundException: org.apache.solr.response.VelocityResponseWriter)

2010-05-09 Thread Erik Hatcher
On May 9, 2010, at 3:20 PM, Andrew Clegg wrote: N.B. In case this catches anyone out -- there's also a few places where you need to put the core name into the templates in the conf/velocity directory for the core. They don't pick this up automatically so you need to find any references to /

Fixed: Solritas on multicore Solr, using standard query handler (was Re: ClassNotFoundException: org.apache.solr.response.VelocityResponseWriter)

2010-05-09 Thread Andrew Clegg
Don't worry Erik -- I figured this one out. For the benefit of future searchers, you need lucene And to avoid the NullPointerException from the /solr/CORENAME/itas page, you actually need to supply a ?q=blah initial query. I just assumed it would give you a blank search page if you di

Re: ClassNotFoundException: org.apache.solr.response.VelocityResponseWriter

2010-05-09 Thread Andrew Clegg
Sorry -- in the second of those error messages (the NPE) I meant lucene not standard. Andrew Clegg wrote: > > > Erik Hatcher-4 wrote: >> >> What version of Solr? Try switching to >> class="solr.VelocityResponseWriter", and if that doesn't work use >> class="org.apache.solr.requ

Re: ClassNotFoundException: org.apache.solr.response.VelocityResponseWriter

2010-05-09 Thread Andrew Clegg
Erik Hatcher-4 wrote: > > What version of Solr? Try switching to > class="solr.VelocityResponseWriter", and if that doesn't work use > class="org.apache.solr.request.VelocityResponseWriter". The first > form is the recommended way to do it. The actual package changed in > trunk not t

Re: ClassNotFoundException: org.apache.solr.response.VelocityResponseWriter

2010-05-09 Thread Erik Hatcher
What version of Solr? Try switching to class="solr.VelocityResponseWriter", and if that doesn't work use class="org.apache.solr.request.VelocityResponseWriter". The first form is the recommended way to do it. The actual package changed in trunk not too long ago. Erik On May

ClassNotFoundException: org.apache.solr.response.VelocityResponseWriter

2010-05-09 Thread Andrew Clegg
Hi, I'm trying to get the Velocity / Solritas feature to work for one core of a two-core Solr instance, but it's not playing nice. I know the right jars are being loaded, because I can see them mentioned in the log, but still I get a class not found exception: 09-May-2010 15:34:02 org.apache.so

Re: Short DismaxRequestHandler Question

2010-05-09 Thread MitchK
Thank you for the explanation, Hoss. At the moment, I am not able to try out Solr, because I am going to write my exam from tomorrow to Wednesday. This is because I would try out as much as possible and dive into some sourcecode and this would be no good idea in this context. So my questions are

Re: Custom DIH variables

2010-05-09 Thread Rivulet Enterprise Search
Rivulet Enterprise Search Provides a web interface, DIH, you might try http://sourceforge.net/projects/rivu/ http://sourceforge.net/projects/rivu/ -- View this message in context: http://lucene.472066.n3.nabble.com/Custom-DIH-variables-tp777696p786836.html Sent from the Solr - User mailing lis

Re: Solr work at Drupal

2010-05-09 Thread Rivulet Enterprise Search
try Rivulet Enterprise Search , http://sourceforge.net/projects/rivu/ http://sourceforge.net/projects/rivu/ -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-work-at-Drupal-tp786638p786810.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Please Help, how to Xinclude in schema.xml

2010-05-09 Thread Rivulet Enterprise Search
try copy to /opt/tomcat/bin -- View this message in context: http://lucene.472066.n3.nabble.com/Please-Help-how-to-Xinclude-in-schema-xml-tp779769p786808.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: How to load Core Properties after Core creation?

2010-05-09 Thread Rivulet Enterprise Search
You shoud edit Solr Source Code , define a Single static SolrCore , after reload solr.xml , change this single static SolrCore -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-load-Core-Properties-after-Core-creation-tp782389p786792.html Sent from the Solr - User maili

Re: CommonsHttpSolrServer vs EmbeddedSolrServer

2010-05-09 Thread Rivulet Enterprise Search
use Rivulet Enterprise Search , http://sourceforge.net/projects/rivu/ http://sourceforge.net/projects/rivu/ , it's very easy to use -- View this message in context: http://lucene.472066.n3.nabble.com/CommonsHttpSolrServer-vs-EmbeddedSolrServer-tp784201p786785.html Sent from the Solr - User mai

Re: Help indexing PDF files

2010-05-09 Thread Rivulet Enterprise Search
user Rivulet Enterprise Search http://sourceforge.net/projects/rivu/ http://sourceforge.net/projects/rivu/ it's very easy . -- View this message in context: http://lucene.472066.n3.nabble.com/Help-indexing-PDF-files-tp783677p786781.html Sent from the Solr - User mailing list archive at Nabble.

Re: Can I use per field analyzers and dynamic fields?

2010-05-09 Thread Paolo Castagna
Hi, thank you for your reply. What you suggested is a good idea and I am probably going to follow it. However, I'd like to hear a comment on the approach of doing the parsing using Lucene and then constructing a SolrQuery from a Lucene Query: QueryParser parser = new QueryParser("", analyzer)