RE: Internal Server Error
hi, I believe you are facing this 'Internal Server Error' while try to index the pdf files. Try adding the 'pdfbox and fontbox' jars in to your solr lib folder and try restart Tomcat once. I hope it will solve the issue. Thanks. -- View this message in context: http://lucene.472066.n3.nabble.com/Internal-Server-Error-tp715713p2798605.html Sent from the Solr - User mailing list archive at Nabble.com.
Solr 3.1 Upgrade
Hi, I am using Solr 1.4.1 in my environment. I have not used special solr features such as replication/distributed searches. From the Solr 3.1 release notes, I came to know, for upgrade , first we need to upgrade our slaves and then need to update Master solr server. Since I have not used this, I believe I dont need to worry about this. To upgrade to 3.1, whether I can simply copy the latest Solr and Solrj libraries in my setup?? Or reindex of the entire documents needed ?? Also, any special changes need to be done on the existing solrconfig.xml and schema.xml ?? or can I have the old schema files itself.. Thanks in Advance for your reply. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-3-1-Upgrade-tp2798750p2798750.html Sent from the Solr - User mailing list archive at Nabble.com.
DIH: Enhance XPathRecordReader to deal with //body(FLATTEN=true) and //body/h1
Hi Folks, does anyone improve DIH XPathRecordReader to deal with nested xpaths? e.g. data-config.xml with and the XML stream contains /html/body/h1... will only fill field “alltext” but field “title” will be empty. This is a known issue from 2009 https://issues.apache.org/jira/browse/SOLR-1437#commentauthor_12756469_verbose So three questions: 1. How to fill a “search over all”-Field without nested xpaths? (schema.xml will not help, because we lose the original token order) 2. Does anyone try to improve XPathRecordReader to deal with nested xpaths? 3. Does anyone else need this feature? Best regards Karsten
Re: Solr Php Client
Cool. I will take a look at the issue later tomorrow. On Fri, Apr 8, 2011 at 2:28 AM, Haspadar wrote: > I'm entering only a query parameter. > I posted a bug description there - > http://pecl.php.net/bugs/bug.php?id=22634 > > > 2011/4/8 Israel Ekpo > > > Hi, > > > > Could you send the enter list of parameters you are ending to solr via > the > > SolrClient and SolrQuery object? > > > > Please open a bug request here with the details > > > > http://pecl.php.net/bugs/report.php?package=solr > > > > On Thu, Apr 7, 2011 at 7:59 PM, Haspadar wrote: > > > > > Hello > > > I updated Solr to version 3.1 on my project. And now when the > application > > > calls getResponse () method (PECL extension) I get the following: > > > "Fatal error: Uncaught exception 'SolrException' with message 'Error > > > un-serializing response' in /home/.../Adapter/Solr.php: 78" > > > > > > How can I fix it? > > > > > > Thanks > > > > > > > > > > > -- > > °O° > > "Good Enough" is not good enough. > > To give anything less than your best is to sacrifice the gift. > > Quality First. Measure Twice. Cut Once. > > http://www.israelekpo.com/ > > > -- °O° "Good Enough" is not good enough. To give anything less than your best is to sacrifice the gift. Quality First. Measure Twice. Cut Once. http://www.israelekpo.com/
Re: ArrayIndexOutOfBoundsException with facet query
Hi Tom, Can you show us the field definition for topicStr? Also, faceting is done on indexed rather than stored values. Can you check if the field is indexed? Thanks, On Fri, Apr 8, 2011 at 5:53 PM, Burton-West, Tom wrote: > The query below results in an array out of bounds exception: > select/?q=solr&version=2.2&start=0&rows=0&facet=true&facet.field=topicStr > > Here is the exception: > Exception during facet.field of > topicStr:java.lang.ArrayIndexOutOfBoundsException: -1931149 >at > org.apache.lucene.index.TermInfosReader.seekEnum(TermInfosReader.java:201) > > We are using a dev version of Solr/Lucene: > > Solr Specification Version: 3.0.0.2010.11.19.16.00.54 > Solr Implementation Version: 3.1-SNAPSHOT 1036094 - root - 2010-11-19 > 16:00:54 > Lucene Specification Version: 3.1-SNAPSHOT > Lucene Implementation Version: 3.1-SNAPSHOT 1036094 - 2010-11-19 16:01:10 > > Just before the exception we see this entry in our tomcat logs: > > Apr 8, 2011 2:01:58 PM org.apache.solr.request.UnInvertedField uninvert > INFO: UnInverted multi-valued field > {field=topicStr,memSize=7675174,tindexSize=289102,time=2577,phase1=2537,nTerms=498975,bigTerms=0,termInstances=1368694,uses=0} > Apr 8, 2011 2:01:58 PM org.apache.solr.core.SolrCore execute > > Is this a known bug? Can anyone provide a clue as to how we can determine > what the problem is? > > Tom Burton-West > > > Appended Below is the exception stack trace: > > SEVERE: Exception during facet.field of > topicStr:java.lang.ArrayIndexOutOfBoundsException: -1931149 >at > org.apache.lucene.index.TermInfosReader.seekEnum(TermInfosReader.java:201) >at > org.apache.lucene.index.TermInfosReader.get(TermInfosReader.java:271) >at > org.apache.lucene.index.TermInfosReader.terms(TermInfosReader.java:338) >at > org.apache.lucene.index.SegmentReader.terms(SegmentReader.java:928) >at > org.apache.lucene.index.DirectoryReader$MultiTermEnum.(DirectoryReader.java:1055) >at > org.apache.lucene.index.DirectoryReader.terms(DirectoryReader.java:659) >at > org.apache.solr.search.SolrIndexReader.terms(SolrIndexReader.java:302) >at > org.apache.solr.request.NumberedTermEnum.skipTo(UnInvertedField.java:1018) >at > org.apache.solr.request.UnInvertedField.getTermText(UnInvertedField.java:838) >at > org.apache.solr.request.UnInvertedField.getCounts(UnInvertedField.java:617) >at > org.apache.solr.request.SimpleFacets.getTermCounts(SimpleFacets.java:279) >at > org.apache.solr.request.SimpleFacets.getFacetFieldCounts(SimpleFacets.java:312) >at > org.apache.solr.request.SimpleFacets.getFacetCounts(SimpleFacets.java:174) >at > org.apache.solr.handler.component.FacetComponent.process(FacetComponent.java:72) >at > org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:195) >at > org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131) >at org.apache.solr.core.SolrCore.execute(SolrCore.java:1354) > > -- edgar